{"openapi":"3.1.0","info":{"title":"Sigma Computing Public REST API","version":"2.0.0+20261105.eb67054","summary":"The Sigma REST API provides developers access to resources programmatically, using HTTP.","description":"The Sigma REST API provides developers access to resources programmatically,\n    using HTTP. The API allows secure access to all the commonly used resources\n    like connections, datasets, teams, workbooks and more. It is designed to have\n    predictable, resource-oriented URLs and to use HTTP response codes to\n    indicate API errors. It uses built-in HTTP features, like HTTP\n    authentication and HTTP verbs, which are understood by off-the-shelf HTTP\n    clients. It supports cross-origin resource sharing, allowing you to interact\n    securely with the API from a client-side web application (though you should\n    never expose your client credentials or API token in any public website's client-side code).\n    JSON is returned by all API responses, including errors.\n    Some useful links:\n        - [API Reference Help](https://help.sigmacomputing.com/reference)\n        - [API QuickStart with Postman](https://quickstarts.sigmacomputing.com/guide/sigma_api_with_postman/index.html?index=..%2F..index#0)","termsOfService":"Contact Sigma","contact":{"email":"support@sigmacomputing.com"}},"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic"},"bearerAuth":{"type":"http","scheme":"bearer"},"oauth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/v2/auth/token","refreshUrl":"/v2/auth/token","scopes":{}}}}},"responses":{"ApiError":{"description":"Sigma API Error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"requestId":{"type":"string"}}}}}}},"schemas":{"DashVariables":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"type":["boolean","null"]}},"description":"","title":"boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"type":["number","null"]}},"description":"","title":"number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"type":["string","null"]}},"description":"","title":"text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"type":"null"},{"type":"object","required":["type","date"],"properties":{"type":{"type":"string","enum":["fixed"]},"date":{"type":"number"}}},{"type":"object","required":["type","unit","x"],"properties":{"type":{"type":"string","enum":["prior","next"]},"unit":{"type":"string","enum":["year","quarter","month","week","isoWeek","day","hour","minute","second"]},"x":{"type":"number"}}}]}},"description":"","title":"date"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"number"},{"type":"null"}]}}},"description":"","title":"number-list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]}}},"description":"","title":"text-list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"number"},{"type":"null"}]}}},"description":"","title":"date-list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"allOf":[{"type":"object","required":["true","false"],"properties":{"true":{"type":"boolean"},"false":{"type":"boolean"}}},{"type":"object","properties":{"null":{"type":"boolean"}}}]}},"description":"","title":"boolean-list"},{"type":"object","required":["type","min","max"],"properties":{"type":{"type":"string","enum":["date-range"]},"min":{"oneOf":[{"type":"null"},{"type":"object","required":["type","date"],"properties":{"type":{"type":"string","enum":["fixed"]},"date":{"type":"number"}}},{"type":"object","required":["type","unit","x"],"properties":{"type":{"type":"string","enum":["prior","next"]},"unit":{"type":"string","enum":["year","quarter","month","week","isoWeek","day","hour","minute","second"]},"x":{"type":"number"}}}]},"max":{"oneOf":[{"type":"null"},{"type":"object","required":["type","date"],"properties":{"type":{"type":"string","enum":["fixed"]},"date":{"type":"number"}}},{"type":"object","required":["type","unit","x"],"properties":{"type":{"type":"string","enum":["prior","next"]},"unit":{"type":"string","enum":["year","quarter","month","week","isoWeek","day","hour","minute","second"]},"x":{"type":"number"}}}]}},"description":"","title":"date-range"},{"type":"object","required":["type","min","max"],"properties":{"type":{"type":"string","enum":["number-range"]},"min":{"type":["number","null"]},"max":{"type":["number","null"]}},"description":"","title":"number-range"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["date-null"]}},"description":"","title":"date-null"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["number-null"]}},"description":"","title":"number-null"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["text-null"]}},"description":"","title":"text-null"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["boolean-null"]}},"description":"","title":"boolean-null"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["hierarchical-list"]},"value":{"type":"array","items":{"type":"string"}}},"description":"","title":"hierarchical-list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["file"]},"value":{"type":"object","required":["id","name","size","type","downloadUrl"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"size":{"type":"number"},"type":{"type":"string"},"downloadUrl":{"type":"string"}}}},"description":"","title":"file"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["file-null"]}},"description":"","title":"file-null"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["file-list"]},"value":{"type":"array","items":{"type":"object","required":["id","name","size","type","downloadUrl"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"size":{"type":"number"},"type":{"type":"string"},"downloadUrl":{"type":"string"}}}}},"description":"","title":"file-list"}],"type":"object"}},"ReportElement":{"oneOf":[{"allOf":[{"$ref":"#/components/schemas/CommonElement"}],"title":"Common elements"},{"allOf":[{"type":"object","required":["id","kind","source"],"properties":{"id":{"type":"string","description":"The identifier of the report repeated container."},"kind":{"type":"string","enum":["report-repeated-container"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source used to generate cards in the repeated container."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"arrangement":{"oneOf":[{"type":"string","enum":["list"]},{"type":"string","enum":["grid"]}],"description":"How cards are tiled inside the repeated container. Defaults to `grid`."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The styling of the element, including background, border, corner shape, and padding."},"cardStyle":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The styling applied to each card including background color, border, corner shape, and padding."},"noDataText":{"type":"string","description":"The message shown when the data source has no rows."},"cardGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The gap between cards in the repeated container. Defaults to `shown`."},"elementGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether there's a gap between elements inside each card. Defaults to `shown`."},"cardSpacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"Gap/padding size between cards (pairs with cardGap). Small, medium, or large."},"elementSpacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The gap between elements inside each card. When padding is enabled, also determines padding size."},"sort":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How the sort order treats null values."}}}]},"description":"The sort order applied to the source rows behind the cards. Requires a `source` of `table`."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The column filters applied to the source rows that drive the repeated container cards."}}},{"type":"object","properties":{"containerSize":{"type":"object","properties":{"width":{"type":"number","description":"Card template width in pixels."},"height":{"type":"number","description":"Card template height in pixels."}},"description":"Pixel size of the repeated card template."},"numRows":{"type":"number","description":"Number of card rows shown per page when arrangement is grid."},"numColumns":{"type":"number","description":"Number of card columns shown per page when arrangement is grid."},"pageBreakAfterRows":{"type":"boolean","description":"When true, insert a page break after each filled set of card rows."},"cardContentHeight":{"type":"number","description":"Explicit card content height in pixels. Resizing scales template children to fit."}}}],"description":"","title":"Report repeated container"}]},"TableStyle":{"type":"object","properties":{"preset":{"oneOf":[{"type":"string","enum":["spreadsheet"]},{"type":"string","enum":["presentation"]}],"description":"The table style preset. Defaults to `spreadsheet`."},"cellSpacing":{"oneOf":[{"type":"string","enum":["extra-small"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The cell spacing preset."},"gridLines":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["vertical"]},{"type":"string","enum":["horizontal"]},{"type":"string","enum":["all"]}],"description":"The grid line display."},"banding":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The row banding visibility for alternating data rows."},"bandingColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"autofitColumns":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether table columns autofit to their content. Rejected on a pivot table."},"outerBorder":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the table draws an outer border."},"headerDividerColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"heavyVerticalDividers":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether heavier vertical dividers between pivot column groups are shown. On an element `tableStyle`, valid only on `kind: 'pivot-table'`."},"heavyHorizontalDividers":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether heavier horizontal dividers between pivot row groups are shown. On an element `tableStyle`, valid only on `kind: 'pivot-table'`."},"textStyles":{"type":"object","properties":{"header":{"type":"object","properties":{"font":{"type":"string","description":"The font family name for the table text."},"fontSize":{"type":"number","description":"The font size, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal text alignment."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical text alignment."},"textWrap":{"oneOf":[{"type":"string","enum":["wrap"]},{"type":"string","enum":["clip"]}],"description":"The text overflow behavior. Defaults to `clip`."}}},"cell":{"type":"object","properties":{"font":{"type":"string","description":"The font family name for the table text."},"fontSize":{"type":"number","description":"The font size, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal text alignment."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical text alignment."},"textWrap":{"oneOf":[{"type":"string","enum":["wrap"]},{"type":"string","enum":["clip"]}],"description":"The text overflow behavior. Defaults to `clip`."}}},"columnHeader":{"type":"object","properties":{"font":{"type":"string","description":"The font family name for the table text."},"fontSize":{"type":"number","description":"The font size, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal text alignment."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical text alignment."},"textWrap":{"oneOf":[{"type":"string","enum":["wrap"]},{"type":"string","enum":["clip"]}],"description":"The text overflow behavior. Defaults to `clip`."}}},"rowHeader":{"type":"object","properties":{"font":{"type":"string","description":"The font family name for the table text."},"fontSize":{"type":"number","description":"The font size, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal text alignment."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical text alignment."},"textWrap":{"oneOf":[{"type":"string","enum":["wrap"]},{"type":"string","enum":["clip"]}],"description":"The text overflow behavior. Defaults to `clip`."}}}}}}},"WorkbookElement":{"oneOf":[{"allOf":[{"$ref":"#/components/schemas/CommonElement"}],"title":"Common elements"},{"allOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string","description":"The identifier of the chat element."},"kind":{"type":"string","enum":["chat"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"agentId":{"type":"string","description":"The identifier of the workbook agent, declared in `agents`, connected to this chat element. Omit when the chat has no agent, or when its agent is not a workbook agent."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including border, corner shape, and padding."}}}],"description":"","title":"Chat"},{"allOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string","description":"The identifier of the code element."},"kind":{"type":"string","enum":["code"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"code":{"type":"string","description":"Python code the element runs, as written in the code editor. Empty until code is saved."},"connectionId":{"type":"string","description":"Identifier of the connection the code runs on. Absent when the element has no connection yet."}}}],"description":"","title":"Code"},{"allOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string","description":"The identifier of the container."},"kind":{"type":"string","enum":["container"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"conditionalFormats":{"type":"array","items":{"type":"object","required":["id","formula","config"],"properties":{"id":{"type":"string"},"formula":{"type":"string","description":"Boolean formula."},"config":{"type":"object","required":["backgroundColor"],"properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Background color."}}}}},"description":"Conditional formatting rules, evaluated in order. The first matching rule determines the container's background color."}}},{"type":"object","properties":{"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}],"description":"The background image of the container. The URL supports dynamic `{{formula}}` text."},"spacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The element spacing preset."},"elementGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The gap between child elements. Defaults to `shown`."}}}],"description":"","title":"Container"},{"allOf":[{"$ref":"#/components/schemas/Form"}],"title":"Form"},{"allOf":[{"type":"object","required":["id","kind","source"],"properties":{"id":{"type":"string","description":"The identifier of the repeated container."},"kind":{"type":"string","enum":["repeated-container"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source used to generate cards in the repeated container."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"arrangement":{"oneOf":[{"type":"string","enum":["list"]},{"type":"string","enum":["grid"]}],"description":"How cards are tiled inside the repeated container. Defaults to `grid`."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The styling of the element, including background, border, corner shape, and padding."},"cardStyle":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The styling applied to each card including background color, border, corner shape, and padding."},"noDataText":{"type":"string","description":"The message shown when the data source has no rows."},"cardGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The gap between cards in the repeated container. Defaults to `shown`."},"elementGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether there's a gap between elements inside each card. Defaults to `shown`."},"cardSpacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"Gap/padding size between cards (pairs with cardGap). Small, medium, or large."},"elementSpacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The gap between elements inside each card. When padding is enabled, also determines padding size."},"sort":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How the sort order treats null values."}}}]},"description":"The sort order applied to the source rows behind the cards. Requires a `source` of `table`."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The column filters applied to the source rows that drive the repeated container cards."}}},{"type":"object","properties":{"scroll":{"oneOf":[{"type":"string","enum":["vertical"]},{"type":"string","enum":["horizontal"]},{"type":"string","enum":["none"]}],"description":"The scroll behavior for overflowing cards. Defaults to vertical scrolling."},"cardStyle":{"allOf":[{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}]},{"type":"object","properties":{"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"External image URL (supports {{formula}} references). Uploads are not supported."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}]}}}],"description":"Per-card styling: background, border, corners, padding toggle, and optional URL-only background image (uploads not supported)."},"cardSize":{"oneOf":[{"type":"string","enum":["x-small"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]},{"type":"string","enum":["x-large"]}],"description":"The preset card width for the `grid` layout type. Defaults to `medium`."},"conditionalFormats":{"type":"array","items":{"type":"object","required":["id","formula","config"],"properties":{"id":{"type":"string"},"formula":{"type":"string","description":"Boolean formula."},"config":{"type":"object","required":["backgroundColor"],"properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Background color."}}}}},"description":"Conditional formatting rules, evaluated in order. The first matching rule determines the background color."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Repeated container"},{"allOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string","description":"The identifier of the single-row container."},"kind":{"type":"string","enum":["single-row-container"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."}}},{"type":"object","required":["source","keyColumnId"],"properties":{"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source that supplies the displayed row."},"keyColumnId":{"type":"string","description":"The ID of the source column that identifies which row is displayed. Must be a column declared on the source."}}},{"type":"object","properties":{"keyColumnValue":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The key-column value of the row to display. Must match the key column type. Omit to pin no row."}}},{"type":"object","properties":{"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}],"description":"The background image of the container. The URL supports dynamic `{{formula}}` text."},"spacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The element spacing preset."},"elementGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The gap between child elements. Defaults to `shown`."}}}],"description":"","title":"Single-row container"},{"allOf":[{"type":"object","required":["id","kind","tabs"],"properties":{"id":{"type":"string","description":"The identifier of the tabbed container."},"kind":{"type":"string","enum":["tabbed-container"]},"tabs":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The label shown on the tab."}}},"description":"The ordered list of tabs in the tabbed container. Must contain at least one tab. The first tab is the default. The `layout` for each tab is matched to this list by position."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"spacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The element spacing preset."},"elementGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The gap between child elements. Defaults to `shown`."},"tabBar":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the tab bar is shown. Defaults to `shown`."},"style":{"oneOf":[{"type":"string","enum":["open"]},{"type":"string","enum":["box"]},{"type":"string","enum":["button"]}],"description":"The tab style. Defaults to `open`."},"alignment":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]},{"type":"string","enum":["justify"]}]},"size":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The tab bar size. Defaults to `medium`."}},"description":"The tab bar display options for the tabbed container."}}}],"description":"","title":"Tabbed container"},{"oneOf":[{"allOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string","description":"The identifier of the navigation element."},"kind":{"type":"string","enum":["navigation"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"optionStyle":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["pill"]}],"description":"The option style. Defaults to `line`."},"orientation":{"oneOf":[{"type":"string","enum":["horizontal"]},{"type":"string","enum":["vertical"]}],"description":"The layout direction. Defaults to `horizontal`."},"alignment":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]},{"type":"string","enum":["justify"]}],"description":"The horizontal alignment of the navigation options. Defaults to `left`."},"size":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The size of the navigation options. Defaults to `medium`."},"textColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Label color for unselected options."},"selectedColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label and color for the selected option."}},"description":"The appearance of the navigation options, including style, orientation, alignment, size, and colors."}}},{"type":"object","required":["mode","options"],"properties":{"mode":{"type":"string","enum":["manual"]},"options":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["submenu"],"properties":{"submenu":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","description":"The option label. Defaults to the destination's own label."},"icon":{"oneOf":[{"type":"object","required":["type","emoji"],"properties":{"type":{"type":"string","enum":["emoji"]},"emoji":{"type":"string"}},"description":"The emoji character.","title":"Emoji"},{"type":"object","required":["type","name","variant"],"properties":{"type":{"type":"string","enum":["icon"]},"name":{"$ref":"#/components/schemas/IconName"},"variant":{"oneOf":[{"type":"string","enum":["filled"]},{"type":"string","enum":["outlined"]},{"type":"string","enum":["toned"]}],"description":"The style of the icon. Required when `type` is `icon`."}},"description":"A named icon (by name and style variant).","title":"Icon"}],"description":"The icon displayed for an element."},"destination":{"oneOf":[{"type":"object","required":["type","pageId"],"properties":{"type":{"type":"string","enum":["page"]},"pageId":{"type":"string"}},"description":"The workbook page to navigate to.","title":"Page destination"},{"type":"object","required":["type","elementId"],"properties":{"type":{"type":"string","enum":["element"]},"elementId":{"type":"string"}},"description":"The element on a page to navigate to.","title":"Element destination"},{"allOf":[{"type":"object","required":["type","url"],"properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"}}},{"type":"object","properties":{"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the link opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame). Defaults to `_blank`."}}}],"description":"The external URL to open.","title":"External link"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["none"]}},"description":"The option has no destination.","title":"No destination"}],"description":"The destination of the navigation option. One of a workbook `page`, an `element` anchor, an external `link`, or `none`."}}},"description":"The child options shown under this submenu, one level deep."}}},{"type":"object","properties":{"label":{"type":"string"},"icon":{"oneOf":[{"type":"object","required":["type","emoji"],"properties":{"type":{"type":"string","enum":["emoji"]},"emoji":{"type":"string"}},"description":"The emoji character.","title":"Emoji"},{"type":"object","required":["type","name","variant"],"properties":{"type":{"type":"string","enum":["icon"]},"name":{"$ref":"#/components/schemas/IconName"},"variant":{"oneOf":[{"type":"string","enum":["filled"]},{"type":"string","enum":["outlined"]},{"type":"string","enum":["toned"]}],"description":"The style of the icon. Required when `type` is `icon`."}},"description":"A named icon (by name and style variant).","title":"Icon"}],"description":"The icon displayed for an element."}}}],"description":"A submenu of menu items (one level).","title":"Submenu"},{"type":"object","properties":{"label":{"type":"string","description":"The option label. Defaults to the destination's own label."},"icon":{"oneOf":[{"type":"object","required":["type","emoji"],"properties":{"type":{"type":"string","enum":["emoji"]},"emoji":{"type":"string"}},"description":"The emoji character.","title":"Emoji"},{"type":"object","required":["type","name","variant"],"properties":{"type":{"type":"string","enum":["icon"]},"name":{"$ref":"#/components/schemas/IconName"},"variant":{"oneOf":[{"type":"string","enum":["filled"]},{"type":"string","enum":["outlined"]},{"type":"string","enum":["toned"]}],"description":"The style of the icon. Required when `type` is `icon`."}},"description":"A named icon (by name and style variant).","title":"Icon"}],"description":"The icon displayed for an element."},"destination":{"oneOf":[{"type":"object","required":["type","pageId"],"properties":{"type":{"type":"string","enum":["page"]},"pageId":{"type":"string"}},"description":"The workbook page to navigate to.","title":"Page destination"},{"type":"object","required":["type","elementId"],"properties":{"type":{"type":"string","enum":["element"]},"elementId":{"type":"string"}},"description":"The element on a page to navigate to.","title":"Element destination"},{"allOf":[{"type":"object","required":["type","url"],"properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"}}},{"type":"object","properties":{"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the link opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame). Defaults to `_blank`."}}}],"description":"The external URL to open.","title":"External link"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["none"]}},"description":"The option has no destination.","title":"No destination"}],"description":"The destination of the navigation option. One of a workbook `page`, an `element` anchor, an external `link`, or `none`."}},"description":"A single navigation menu item.","title":"Menu item"}],"description":"A navigation menu item or a submenu of items."},"description":"The navigation options. At least one is required."}}},{"type":"object","properties":{"showIcons":{"type":"boolean","description":"Whether option icons are shown."}}}],"description":"A navigation menu whose options you define manually.","title":"Manual navigation"},{"allOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string","description":"The identifier of the navigation element."},"kind":{"type":"string","enum":["navigation"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"optionStyle":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["pill"]}],"description":"The option style. Defaults to `line`."},"orientation":{"oneOf":[{"type":"string","enum":["horizontal"]},{"type":"string","enum":["vertical"]}],"description":"The layout direction. Defaults to `horizontal`."},"alignment":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]},{"type":"string","enum":["justify"]}],"description":"The horizontal alignment of the navigation options. Defaults to `left`."},"size":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The size of the navigation options. Defaults to `medium`."},"textColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Label color for unselected options."},"selectedColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label and color for the selected option."}},"description":"The appearance of the navigation options, including style, orientation, alignment, size, and colors."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["auto"]}}},{"type":"object","properties":{"pageLabels":{"type":"array","items":{"type":"object","required":["pageId","label"],"properties":{"pageId":{"type":"string","description":"Workbook page id."},"label":{"type":"string","description":"Custom navigation label for the page."}}},"description":"Display name overrides for a page, specified by page id."}}}],"description":"A navigation menu that lists the workbook's pages.","title":"Auto navigation"}],"description":"","title":"Navigation"},{"allOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string","description":"The identifier of the page break element."},"kind":{"type":"string","enum":["page-break"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."}}}],"description":"","title":"Page break"}]},"Actions":{"type":"array","items":{"allOf":[{"type":"object","required":["id","trigger","effects"],"properties":{"id":{"type":"string","description":"The identifier of the action sequence."},"trigger":{"oneOf":[{"oneOf":[{"type":"string","enum":["on-click"]},{"type":"string","enum":["on-select"]},{"type":"string","enum":["on-primary-cta-click"]},{"type":"string","enum":["on-secondary-cta-click"]},{"type":"string","enum":["on-close"]},{"type":"string","enum":["on-change"]},{"type":"string","enum":["on-submit"]},{"type":"string","enum":["on-reset"]}]},{"allOf":[{"type":"object","required":["on","columnId"],"properties":{"on":{"type":"string","enum":["on-select"]},"columnId":{"type":"string","description":"The id of the column this select trigger is scoped to. Omit for a whole-row select."}}},{"type":"object","properties":{"condition":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The host element's own column ID to compare."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"The condition that must evaluate to true for the action to run.","title":"Column Condition"},{"type":"object","required":["type","cond","value"],"properties":{"type":{"type":"string","enum":["constant"]},"cond":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["In"]}],"description":"The comparison operator applied to `value`. Either `=` for equality, or `In` for membership when the triggering control is a list."},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"Condition that compares the control's value to a constant. Only valid on a control-sourced trigger.","title":"Constant Condition"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The boolean formula that determines whether the action sequence runs."}},"description":"Boolean formula evaluated using values from the trigger context.","title":"Formula Condition"}]}}}]},{"type":"object","required":["on","condition"],"properties":{"on":{"oneOf":[{"type":"string","enum":["on-click"]},{"type":"string","enum":["on-select"]},{"type":"string","enum":["on-primary-cta-click"]},{"type":"string","enum":["on-secondary-cta-click"]},{"type":"string","enum":["on-close"]},{"type":"string","enum":["on-change"]},{"type":"string","enum":["on-submit"]},{"type":"string","enum":["on-reset"]}]},"condition":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The host element's own column ID to compare."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"The condition that must evaluate to true for the action to run.","title":"Column Condition"},{"type":"object","required":["type","cond","value"],"properties":{"type":{"type":"string","enum":["constant"]},"cond":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["In"]}],"description":"The comparison operator applied to `value`. Either `=` for equality, or `In` for membership when the triggering control is a list."},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"Condition that compares the control's value to a constant. Only valid on a control-sourced trigger.","title":"Constant Condition"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The boolean formula that determines whether the action sequence runs."}},"description":"Boolean formula evaluated using values from the trigger context.","title":"Formula Condition"}]}}},{"allOf":[{"type":"object","required":["on","menuItemId"],"properties":{"on":{"type":"string","enum":["on-context-menu-click"]},"menuItemId":{"type":"string","description":"The customContextMenu item's id this trigger targets."}}},{"type":"object","properties":{"condition":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The host element's own column ID to compare."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"The condition that must evaluate to true for the action to run.","title":"Column Condition"},{"type":"object","required":["type","cond","value"],"properties":{"type":{"type":"string","enum":["constant"]},"cond":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["In"]}],"description":"The comparison operator applied to `value`. Either `=` for equality, or `In` for membership when the triggering control is a list."},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"Condition that compares the control's value to a constant. Only valid on a control-sourced trigger.","title":"Constant Condition"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The boolean formula that determines whether the action sequence runs."}},"description":"Boolean formula evaluated using values from the trigger context.","title":"Formula Condition"}]}}}]},{"allOf":[{"type":"object","required":["kind","actionTriggerId"],"properties":{"kind":{"type":"string","enum":["action-trigger"]},"actionTriggerId":{"type":"string","description":"The identifier of the action trigger that fires this action."}}},{"type":"object","properties":{"condition":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The host element's own column ID to compare."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"The condition that must evaluate to true for the action to run.","title":"Column Condition"},{"type":"object","required":["type","cond","value"],"properties":{"type":{"type":"string","enum":["constant"]},"cond":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["In"]}],"description":"The comparison operator applied to `value`. Either `=` for equality, or `In` for membership when the triggering control is a list."},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"Condition that compares the control's value to a constant. Only valid on a control-sourced trigger.","title":"Constant Condition"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The boolean formula that determines whether the action sequence runs."}},"description":"Boolean formula evaluated using values from the trigger context.","title":"Formula Condition"}]}}}]}],"description":"The user interaction that initiates this action, such as a button click or cell selection."},"effects":{"type":"array","items":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["effect","connectorId"],"properties":{"effect":{"type":"string","enum":["call-api"]},"connectorId":{"type":"string","description":"The ID of the API connector to call."}}},{"type":"object","properties":{"arguments":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Values to send to the API connector, keyed by parameter name."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls an API connector with configured values.","title":"Call API"},{"allOf":[{"type":"object","required":["effect","openTarget"],"properties":{"effect":{"type":"string","enum":["open-url"]},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the URL opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."}}},{"type":"object","properties":{"url":{"type":"string","description":"The URL to open. Supports dynamic `{{formula}}` text."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a URL in the same tab, a new tab, or the parent frame.","title":"Open URL"},{"allOf":[{"type":"object","required":["effect","overlayId"],"properties":{"effect":{"type":"string","enum":["open-overlay"]},"overlayId":{"type":"string","description":"The identifier of the modal or drawer to open."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a modal.","title":"Open Overlay"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["close-overlay"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Closes the currently open modal.","title":"Close Overlay"},{"allOf":[{"type":"object","required":["effect","control","value"],"properties":{"effect":{"type":"string","enum":["set-control-value"]},"control":{"type":"string","description":"The control ID of the control to update with a new value."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"description":"The value to set on the control."}}},{"type":"object","properties":{"selectionMode":{"oneOf":[{"type":"string","enum":["replace"]},{"type":"string","enum":["add"]},{"type":"string","enum":["remove"]}],"description":"How the value combines with the current selection. Defaults to `replace`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets a control's value, optionally combining with the current selection.","title":"Set Control Value"},{"allOf":[{"type":"object","required":["effect","scope"],"properties":{"effect":{"type":"string","enum":["clear-control"]},"scope":{"oneOf":[{"type":"object","required":["type","controlId"],"properties":{"type":{"type":"string","enum":["control"]},"controlId":{"type":"string"}},"description":"Clear a single control by its control ID.","title":"Control"},{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Clear every control in a container by the container element ID.","title":"Container"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["page"]}}},{"type":"object","properties":{"pageId":{"type":"string"}}}],"description":"Clear every control on a page by page ID, or the current page when omitted.","title":"Page"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"Clear every control in the workbook.","title":"Workbook"}],"description":"The scope of controls to clear. One of a specific `control`, all controls in a `container` or `page`, or the entire `workbook`."}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears one or more controls to empty or their published value.","title":"Clear Control"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["reset-form"]}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Resets all fields in the host form to empty or published values.","title":"Reset Form"},{"allOf":[{"type":"object","required":["effect","formElementId","values"],"properties":{"effect":{"type":"string","enum":["set-form-values"]},"formElementId":{"type":"string","description":"The element id of the target form to set."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Form fieldId -> the value to write into that field on the target form."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets one or more values on a target form.","title":"Set Form Values"},{"allOf":[{"type":"object","required":["effect","target","value"],"properties":{"effect":{"type":"string","enum":["set-single-row-container"]},"target":{"oneOf":[{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Set a single-row container element by its container element ID.","title":"Container"},{"type":"object","required":["type","modalId"],"properties":{"type":{"type":"string","enum":["modal"]},"modalId":{"type":"string"}},"description":"Set the single-row container displayed in a modal, by the modal page ID.","title":"Modal"}],"description":"The single-row container to set."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The key-column value of the row to display."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets the row a single-row container displays.","title":"Set Single Row Container"},{"allOf":[{"type":"object","required":["effect","chatElementId"],"properties":{"effect":{"type":"string","enum":["clear-chat-element-messages"]},"chatElementId":{"type":"string","description":"The chat element whose message history to clear."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears a chat element's message history.","title":"Clear Chat Element Messages"},{"allOf":[{"type":"object","required":["effect","storedProcedure"],"properties":{"effect":{"type":"string","enum":["call-stored-procedure"]},"storedProcedure":{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","properties":{"signature":{"type":"string","description":"Stored procedure signature to run, using the display text shown in the workbook action editor."}}}],"description":"Stored procedure to run, identified by its connection and warehouse path."}}},{"type":"object","properties":{"arguments":{"type":"array","items":{"type":"object","required":["parameterIndex","type","value"],"properties":{"parameterIndex":{"type":"number","description":"Identifies which stored procedure input this argument supplies, using 0 for the first parameter."},"type":{"type":"string","enum":["boolean","datetime","number","integer","text"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}}},"description":"Values to pass to stored procedure inputs. Omitted inputs will be filled with default values for their parameter type."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls a stored procedure.","title":"Call Stored Procedure"},{"allOf":[{"type":"object","required":["effect","tableElementId","values"],"properties":{"effect":{"type":"string","enum":["insert-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table. Cannot be a linked input table."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The identifier of the column in the target table to write to and the value to write. Omitted columns keep the table's default."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Inserts a row into a target input table.","title":"Insert Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows","values"],"properties":{"effect":{"type":"string","enum":["update-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table element. Can reference a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to update in the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The values to write into matched rows, specified by column ID."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Updates matched rows in a target input table.","title":"Update Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows"],"properties":{"effect":{"type":"string","enum":["delete-rows"]},"tableElementId":{"type":"string","description":"The input table to delete rows from. Cannot be a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to delete from the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Deletes matched rows from a target input table.","title":"Delete Rows"},{"allOf":[{"oneOf":[{"allOf":[{"type":"object","required":["effect","channel","recipients","subject","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["email"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"subject":{"type":"string","description":"The email subject. Supports dynamic-text {{formula}} values."},"messageBody":{"type":"string","description":"The email body. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}},{"type":"object","properties":{"ccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients copied on the email."},"bccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients blind-copied on the email."},"runAsRecipient":{"type":"boolean","description":"Render the export using each recipient's own permissions. Defaults to false."},"zipAttachments":{"type":"boolean","description":"Compress the attachments into a single zip file. Defaults to false."}}}],"description":"Send a notification by email.","title":"Email notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["slack"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Slack message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Slack.","title":"Slack notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["ms-teams"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Microsoft Teams message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Microsoft Teams.","title":"Microsoft Teams notification"},{"allOf":[{"type":"object","required":["effect","channel","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["download"]},"source":{"oneOf":[{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},{"type":"object","required":["type","documentId"],"properties":{"type":{"type":"string","enum":["external-report"]},"documentId":{"type":"string"}},"description":"An external report.","title":"External Report"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Comma-separated values.","title":"CSV"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"includeMetadata":{"type":"boolean"},"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Microsoft Excel workbook.","title":"Excel"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}},"description":"JSON data.","title":"JSON"},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}},"description":"PDF document.","title":"PDF"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}},"description":"PNG image.","title":"PNG"}]}}},{"type":"object","properties":{"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Export content for browser download.","title":"Browser download"},{"type":"object","required":["effect","channel","endpoints","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["webhook"]},"endpoints":{"type":"array","items":{"type":"string"},"description":"The webhook endpoints that receive the export."},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}}]}},"description":"Send exported content to a webhook.","title":"Webhook export"},{"type":"object","required":["effect","channel","folderUrl","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["sharepoint"]},"folderUrl":{"type":"string","description":"The SharePoint folder URL that receives the export."},"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]}},"description":"Send exported content to SharePoint.","title":"SharePoint export"},{"allOf":[{"type":"object","required":["effect","channel","source","uri"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["cloud-storage"]},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"uri":{"type":"string","description":"The cloud storage URI, e.g. `s3://bucket/path`."}}},{"type":"object","properties":{"cloudStorageAccess":{"type":"string","description":"The cloud storage access configuration: a Snowflake storage integration or Redshift IAM role. Omit for a Snowflake external-stage URI."},"gzip":{"type":"boolean","description":"Compress the exported file with gzip."},"prefixTimestamp":{"type":"boolean","description":"Prefix the exported file name with the current date and time."}}}],"description":"Export content to cloud storage through the data warehouse.","title":"Cloud storage export"}]},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a notification or exports workbook content.","title":"Notify and Export"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["refresh-element"]},"target":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The element to refresh. Refreshing a parent element also refreshes its child elements."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Refreshes a single element's data. Does not apply to materialized elements.","title":"Refresh Element"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["navigate"]},"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The page or element to navigate to."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Navigates to a page or element in this workbook.","title":"Navigate"},{"allOf":[{"type":"object","required":["effect","documentId","openTarget","documentType"],"properties":{"effect":{"type":"string","enum":["open-document"]},"documentId":{"type":"string","description":"The identifier of the workbook or report to open."},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the document opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."},"documentType":{"oneOf":[{"type":"string","enum":["workbook"]},{"type":"string","enum":["report"]}],"description":"The type of document to open."}}},{"type":"object","properties":{"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The identifier of a page or element to open inside the target document. Values are passed through as specified without validation."},"targetControls":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The set of controls in the target document and the values to set them to when the document is opened, as key-value pairs. Keys name inputs in the target document. Values must be specified from the current workbook."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens another workbook or report.","title":"Open Document"},{"allOf":[{"type":"object","required":["effect","tabbedContainerElementId","selectedTab"],"properties":{"effect":{"type":"string","enum":["select-tab"]},"tabbedContainerElementId":{"type":"string","description":"The tabbed container element to select a tab in."},"selectedTab":{"oneOf":[{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["direction"]},"direction":{"oneOf":[{"type":"string","enum":["next"]},{"type":"string","enum":["previous"]}]}},"description":"Selects a tab relative to the currently active tab.","title":"Direction"},{"type":"object","required":["type","index"],"properties":{"type":{"type":"string","enum":["tab"]},"index":{"type":"number","description":"The 0-based index into the tabbed container's tab order. The first tab is `0`."}},"description":"The 0-based index of the tab to display in the tabbed container. The first tab is `0`.","title":"Tab"}],"description":"The tab to select. Set `type` to `direction` with a `direction` (`next` or `previous`), or `tab` with a 0-based `index`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Selects a tab on a tabbed container.","title":"Select Tab"},{"allOf":[{"type":"object","required":["effect","elementId","sort"],"properties":{"effect":{"type":"string","enum":["custom-sort"]},"elementId":{"type":"string","description":"The element to sort."},"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation function for the sort. Only valid when `by` references a column ID (not \"row-count\")."},"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How null values sort. Omit, or use 'connection-default', for the connection's default null ordering."}}}]},{"type":"object","required":["type","columns"],"properties":{"type":{"type":"string","enum":["level"]},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How the sort order treats null values."}}}]},"description":"Ordered list of columns to sort by."}}}],"description":"The sort to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sorts a chart (or pivot table) by one of its columns, or a Table's rows by an ordered list of columns.","title":"Custom Sort"},{"allOf":[{"type":"object","required":["effect","elementId","modification"],"properties":{"effect":{"type":"string","enum":["modify-element"]},"elementId":{"type":"string","description":"The element to modify."},"modification":{"oneOf":[{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["move-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["base"]}},"title":"Base destination"}],"description":"Where to move the column."},"source":{"oneOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"title":"Column source"},{"allOf":[{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}},{"type":"object","properties":{"matchOrder":{"type":"boolean","description":"Order the moved column(s) to match the control's selected-value order. Requires a multi-select control."}}}]}],"description":"The column to move, or a control whose selected values determine which columns to move."}}},{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["swap-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"}],"description":"Where to move the column. The column already occupying this destination is moved to where `source` came from."},"source":{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"description":"The column to swap."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["show-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to show, or a control whose selected values determine which columns to show."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["hide-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to hide, or a control whose selected values determine which columns to hide."}}},{"allOf":[{"type":"object","required":["type","scale"],"properties":{"type":{"type":"string","enum":["set-axis-scale"]},"scale":{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."}},"description":"The scale to apply."}}},{"type":"object","properties":{"axis":{"oneOf":[{"type":"string","enum":["dimension"]},{"type":"string","enum":["value"]},{"type":"string","enum":["secondary-value"]}],"description":"Which axis to scale: the category/dimension axis, the primary measure axis (default), or the secondary measure axis (columns flagged onto it)."}}}]}],"description":"The modification to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Shows, hides, moves, or swaps columns, or sets an axis scale, on a chart, pivot table, or Table element.","title":"Modify Element"},{"allOf":[{"type":"object","required":["effect","codeElementId"],"properties":{"effect":{"type":"string","enum":["run-python-element"]},"codeElementId":{"type":"string","description":"The code element to run."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Runs a code element.","title":"Run Python Element"},{"allOf":[{"type":"object","required":["effect","pluginElementId","pluginEffectId"],"properties":{"effect":{"type":"string","enum":["trigger-plugin"]},"pluginElementId":{"type":"string","description":"The plugin element whose action effect to trigger."},"pluginEffectId":{"type":"string","description":"The action effect ID registered by the plugin."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Triggers an action effect within a plugin element.","title":"Trigger Plugin"},{"allOf":[{"type":"object","required":["effect","eventName","payload"],"properties":{"effect":{"type":"string","enum":["send-embed-event"]},"eventName":{"type":"string","description":"The event name included in the posted message."},"payload":{"type":"array","items":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","description":"The key for this value in the posted message payload."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The value to include."}}},"description":"Key-value pairs included in the posted message payload, in order."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a message to the embedding parent page.","title":"Send Embed Event"}]},{"allOf":[{"type":"object","required":["effect","if"],"properties":{"effect":{"type":"string","enum":["if-else"]},"if":{"type":"object","required":["condition","effects"],"properties":{"condition":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The host element's own column ID to compare."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"The condition that must evaluate to true for the action to run.","title":"Column Condition"},{"type":"object","required":["type","cond","value"],"properties":{"type":{"type":"string","enum":["constant"]},"cond":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["In"]}],"description":"The comparison operator applied to `value`. Either `=` for equality, or `In` for membership when the triggering control is a list."},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"Condition that compares the control's value to a constant. Only valid on a control-sourced trigger.","title":"Constant Condition"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The boolean formula that determines whether the action sequence runs."}},"description":"Boolean formula evaluated using values from the trigger context.","title":"Formula Condition"}],"description":"The condition that selects this branch."},"effects":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["effect","connectorId"],"properties":{"effect":{"type":"string","enum":["call-api"]},"connectorId":{"type":"string","description":"The ID of the API connector to call."}}},{"type":"object","properties":{"arguments":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Values to send to the API connector, keyed by parameter name."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls an API connector with configured values.","title":"Call API"},{"allOf":[{"type":"object","required":["effect","openTarget"],"properties":{"effect":{"type":"string","enum":["open-url"]},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the URL opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."}}},{"type":"object","properties":{"url":{"type":"string","description":"The URL to open. Supports dynamic `{{formula}}` text."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a URL in the same tab, a new tab, or the parent frame.","title":"Open URL"},{"allOf":[{"type":"object","required":["effect","overlayId"],"properties":{"effect":{"type":"string","enum":["open-overlay"]},"overlayId":{"type":"string","description":"The identifier of the modal or drawer to open."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a modal.","title":"Open Overlay"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["close-overlay"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Closes the currently open modal.","title":"Close Overlay"},{"allOf":[{"type":"object","required":["effect","control","value"],"properties":{"effect":{"type":"string","enum":["set-control-value"]},"control":{"type":"string","description":"The control ID of the control to update with a new value."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"description":"The value to set on the control."}}},{"type":"object","properties":{"selectionMode":{"oneOf":[{"type":"string","enum":["replace"]},{"type":"string","enum":["add"]},{"type":"string","enum":["remove"]}],"description":"How the value combines with the current selection. Defaults to `replace`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets a control's value, optionally combining with the current selection.","title":"Set Control Value"},{"allOf":[{"type":"object","required":["effect","scope"],"properties":{"effect":{"type":"string","enum":["clear-control"]},"scope":{"oneOf":[{"type":"object","required":["type","controlId"],"properties":{"type":{"type":"string","enum":["control"]},"controlId":{"type":"string"}},"description":"Clear a single control by its control ID.","title":"Control"},{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Clear every control in a container by the container element ID.","title":"Container"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["page"]}}},{"type":"object","properties":{"pageId":{"type":"string"}}}],"description":"Clear every control on a page by page ID, or the current page when omitted.","title":"Page"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"Clear every control in the workbook.","title":"Workbook"}],"description":"The scope of controls to clear. One of a specific `control`, all controls in a `container` or `page`, or the entire `workbook`."}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears one or more controls to empty or their published value.","title":"Clear Control"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["reset-form"]}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Resets all fields in the host form to empty or published values.","title":"Reset Form"},{"allOf":[{"type":"object","required":["effect","formElementId","values"],"properties":{"effect":{"type":"string","enum":["set-form-values"]},"formElementId":{"type":"string","description":"The element id of the target form to set."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Form fieldId -> the value to write into that field on the target form."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets one or more values on a target form.","title":"Set Form Values"},{"allOf":[{"type":"object","required":["effect","target","value"],"properties":{"effect":{"type":"string","enum":["set-single-row-container"]},"target":{"oneOf":[{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Set a single-row container element by its container element ID.","title":"Container"},{"type":"object","required":["type","modalId"],"properties":{"type":{"type":"string","enum":["modal"]},"modalId":{"type":"string"}},"description":"Set the single-row container displayed in a modal, by the modal page ID.","title":"Modal"}],"description":"The single-row container to set."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The key-column value of the row to display."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets the row a single-row container displays.","title":"Set Single Row Container"},{"allOf":[{"type":"object","required":["effect","chatElementId"],"properties":{"effect":{"type":"string","enum":["clear-chat-element-messages"]},"chatElementId":{"type":"string","description":"The chat element whose message history to clear."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears a chat element's message history.","title":"Clear Chat Element Messages"},{"allOf":[{"type":"object","required":["effect","storedProcedure"],"properties":{"effect":{"type":"string","enum":["call-stored-procedure"]},"storedProcedure":{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","properties":{"signature":{"type":"string","description":"Stored procedure signature to run, using the display text shown in the workbook action editor."}}}],"description":"Stored procedure to run, identified by its connection and warehouse path."}}},{"type":"object","properties":{"arguments":{"type":"array","items":{"type":"object","required":["parameterIndex","type","value"],"properties":{"parameterIndex":{"type":"number","description":"Identifies which stored procedure input this argument supplies, using 0 for the first parameter."},"type":{"type":"string","enum":["boolean","datetime","number","integer","text"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}}},"description":"Values to pass to stored procedure inputs. Omitted inputs will be filled with default values for their parameter type."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls a stored procedure.","title":"Call Stored Procedure"},{"allOf":[{"type":"object","required":["effect","tableElementId","values"],"properties":{"effect":{"type":"string","enum":["insert-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table. Cannot be a linked input table."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The identifier of the column in the target table to write to and the value to write. Omitted columns keep the table's default."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Inserts a row into a target input table.","title":"Insert Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows","values"],"properties":{"effect":{"type":"string","enum":["update-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table element. Can reference a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to update in the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The values to write into matched rows, specified by column ID."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Updates matched rows in a target input table.","title":"Update Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows"],"properties":{"effect":{"type":"string","enum":["delete-rows"]},"tableElementId":{"type":"string","description":"The input table to delete rows from. Cannot be a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to delete from the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Deletes matched rows from a target input table.","title":"Delete Rows"},{"allOf":[{"oneOf":[{"allOf":[{"type":"object","required":["effect","channel","recipients","subject","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["email"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"subject":{"type":"string","description":"The email subject. Supports dynamic-text {{formula}} values."},"messageBody":{"type":"string","description":"The email body. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}},{"type":"object","properties":{"ccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients copied on the email."},"bccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients blind-copied on the email."},"runAsRecipient":{"type":"boolean","description":"Render the export using each recipient's own permissions. Defaults to false."},"zipAttachments":{"type":"boolean","description":"Compress the attachments into a single zip file. Defaults to false."}}}],"description":"Send a notification by email.","title":"Email notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["slack"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Slack message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Slack.","title":"Slack notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["ms-teams"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Microsoft Teams message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Microsoft Teams.","title":"Microsoft Teams notification"},{"allOf":[{"type":"object","required":["effect","channel","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["download"]},"source":{"oneOf":[{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},{"type":"object","required":["type","documentId"],"properties":{"type":{"type":"string","enum":["external-report"]},"documentId":{"type":"string"}},"description":"An external report.","title":"External Report"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Comma-separated values.","title":"CSV"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"includeMetadata":{"type":"boolean"},"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Microsoft Excel workbook.","title":"Excel"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}},"description":"JSON data.","title":"JSON"},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}},"description":"PDF document.","title":"PDF"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}},"description":"PNG image.","title":"PNG"}]}}},{"type":"object","properties":{"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Export content for browser download.","title":"Browser download"},{"type":"object","required":["effect","channel","endpoints","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["webhook"]},"endpoints":{"type":"array","items":{"type":"string"},"description":"The webhook endpoints that receive the export."},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}}]}},"description":"Send exported content to a webhook.","title":"Webhook export"},{"type":"object","required":["effect","channel","folderUrl","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["sharepoint"]},"folderUrl":{"type":"string","description":"The SharePoint folder URL that receives the export."},"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]}},"description":"Send exported content to SharePoint.","title":"SharePoint export"},{"allOf":[{"type":"object","required":["effect","channel","source","uri"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["cloud-storage"]},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"uri":{"type":"string","description":"The cloud storage URI, e.g. `s3://bucket/path`."}}},{"type":"object","properties":{"cloudStorageAccess":{"type":"string","description":"The cloud storage access configuration: a Snowflake storage integration or Redshift IAM role. Omit for a Snowflake external-stage URI."},"gzip":{"type":"boolean","description":"Compress the exported file with gzip."},"prefixTimestamp":{"type":"boolean","description":"Prefix the exported file name with the current date and time."}}}],"description":"Export content to cloud storage through the data warehouse.","title":"Cloud storage export"}]},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a notification or exports workbook content.","title":"Notify and Export"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["refresh-element"]},"target":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The element to refresh. Refreshing a parent element also refreshes its child elements."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Refreshes a single element's data. Does not apply to materialized elements.","title":"Refresh Element"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["navigate"]},"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The page or element to navigate to."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Navigates to a page or element in this workbook.","title":"Navigate"},{"allOf":[{"type":"object","required":["effect","documentId","openTarget","documentType"],"properties":{"effect":{"type":"string","enum":["open-document"]},"documentId":{"type":"string","description":"The identifier of the workbook or report to open."},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the document opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."},"documentType":{"oneOf":[{"type":"string","enum":["workbook"]},{"type":"string","enum":["report"]}],"description":"The type of document to open."}}},{"type":"object","properties":{"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The identifier of a page or element to open inside the target document. Values are passed through as specified without validation."},"targetControls":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The set of controls in the target document and the values to set them to when the document is opened, as key-value pairs. Keys name inputs in the target document. Values must be specified from the current workbook."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens another workbook or report.","title":"Open Document"},{"allOf":[{"type":"object","required":["effect","tabbedContainerElementId","selectedTab"],"properties":{"effect":{"type":"string","enum":["select-tab"]},"tabbedContainerElementId":{"type":"string","description":"The tabbed container element to select a tab in."},"selectedTab":{"oneOf":[{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["direction"]},"direction":{"oneOf":[{"type":"string","enum":["next"]},{"type":"string","enum":["previous"]}]}},"description":"Selects a tab relative to the currently active tab.","title":"Direction"},{"type":"object","required":["type","index"],"properties":{"type":{"type":"string","enum":["tab"]},"index":{"type":"number","description":"The 0-based index into the tabbed container's tab order. The first tab is `0`."}},"description":"The 0-based index of the tab to display in the tabbed container. The first tab is `0`.","title":"Tab"}],"description":"The tab to select. Set `type` to `direction` with a `direction` (`next` or `previous`), or `tab` with a 0-based `index`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Selects a tab on a tabbed container.","title":"Select Tab"},{"allOf":[{"type":"object","required":["effect","elementId","sort"],"properties":{"effect":{"type":"string","enum":["custom-sort"]},"elementId":{"type":"string","description":"The element to sort."},"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation function for the sort. Only valid when `by` references a column ID (not \"row-count\")."},"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How null values sort. Omit, or use 'connection-default', for the connection's default null ordering."}}}]},{"type":"object","required":["type","columns"],"properties":{"type":{"type":"string","enum":["level"]},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How the sort order treats null values."}}}]},"description":"Ordered list of columns to sort by."}}}],"description":"The sort to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sorts a chart (or pivot table) by one of its columns, or a Table's rows by an ordered list of columns.","title":"Custom Sort"},{"allOf":[{"type":"object","required":["effect","elementId","modification"],"properties":{"effect":{"type":"string","enum":["modify-element"]},"elementId":{"type":"string","description":"The element to modify."},"modification":{"oneOf":[{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["move-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["base"]}},"title":"Base destination"}],"description":"Where to move the column."},"source":{"oneOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"title":"Column source"},{"allOf":[{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}},{"type":"object","properties":{"matchOrder":{"type":"boolean","description":"Order the moved column(s) to match the control's selected-value order. Requires a multi-select control."}}}]}],"description":"The column to move, or a control whose selected values determine which columns to move."}}},{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["swap-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"}],"description":"Where to move the column. The column already occupying this destination is moved to where `source` came from."},"source":{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"description":"The column to swap."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["show-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to show, or a control whose selected values determine which columns to show."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["hide-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to hide, or a control whose selected values determine which columns to hide."}}},{"allOf":[{"type":"object","required":["type","scale"],"properties":{"type":{"type":"string","enum":["set-axis-scale"]},"scale":{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."}},"description":"The scale to apply."}}},{"type":"object","properties":{"axis":{"oneOf":[{"type":"string","enum":["dimension"]},{"type":"string","enum":["value"]},{"type":"string","enum":["secondary-value"]}],"description":"Which axis to scale: the category/dimension axis, the primary measure axis (default), or the secondary measure axis (columns flagged onto it)."}}}]}],"description":"The modification to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Shows, hides, moves, or swaps columns, or sets an axis scale, on a chart, pivot table, or Table element.","title":"Modify Element"},{"allOf":[{"type":"object","required":["effect","codeElementId"],"properties":{"effect":{"type":"string","enum":["run-python-element"]},"codeElementId":{"type":"string","description":"The code element to run."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Runs a code element.","title":"Run Python Element"},{"allOf":[{"type":"object","required":["effect","pluginElementId","pluginEffectId"],"properties":{"effect":{"type":"string","enum":["trigger-plugin"]},"pluginElementId":{"type":"string","description":"The plugin element whose action effect to trigger."},"pluginEffectId":{"type":"string","description":"The action effect ID registered by the plugin."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Triggers an action effect within a plugin element.","title":"Trigger Plugin"},{"allOf":[{"type":"object","required":["effect","eventName","payload"],"properties":{"effect":{"type":"string","enum":["send-embed-event"]},"eventName":{"type":"string","description":"The event name included in the posted message."},"payload":{"type":"array","items":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","description":"The key for this value in the posted message payload."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The value to include."}}},"description":"Key-value pairs included in the posted message payload, in order."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a message to the embedding parent page.","title":"Send Embed Event"}]},"description":"Effects that run when this branch is selected."}},"description":"Runs when its condition is true."}}},{"type":"object","properties":{"elseif":{"type":"array","items":{"type":"object","required":["condition","effects"],"properties":{"condition":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The host element's own column ID to compare."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"The condition that must evaluate to true for the action to run.","title":"Column Condition"},{"type":"object","required":["type","cond","value"],"properties":{"type":{"type":"string","enum":["constant"]},"cond":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["In"]}],"description":"The comparison operator applied to `value`. Either `=` for equality, or `In` for membership when the triggering control is a list."},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"Condition that compares the control's value to a constant. Only valid on a control-sourced trigger.","title":"Constant Condition"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The boolean formula that determines whether the action sequence runs."}},"description":"Boolean formula evaluated using values from the trigger context.","title":"Formula Condition"}],"description":"The condition that selects this branch."},"effects":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["effect","connectorId"],"properties":{"effect":{"type":"string","enum":["call-api"]},"connectorId":{"type":"string","description":"The ID of the API connector to call."}}},{"type":"object","properties":{"arguments":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Values to send to the API connector, keyed by parameter name."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls an API connector with configured values.","title":"Call API"},{"allOf":[{"type":"object","required":["effect","openTarget"],"properties":{"effect":{"type":"string","enum":["open-url"]},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the URL opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."}}},{"type":"object","properties":{"url":{"type":"string","description":"The URL to open. Supports dynamic `{{formula}}` text."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a URL in the same tab, a new tab, or the parent frame.","title":"Open URL"},{"allOf":[{"type":"object","required":["effect","overlayId"],"properties":{"effect":{"type":"string","enum":["open-overlay"]},"overlayId":{"type":"string","description":"The identifier of the modal or drawer to open."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a modal.","title":"Open Overlay"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["close-overlay"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Closes the currently open modal.","title":"Close Overlay"},{"allOf":[{"type":"object","required":["effect","control","value"],"properties":{"effect":{"type":"string","enum":["set-control-value"]},"control":{"type":"string","description":"The control ID of the control to update with a new value."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"description":"The value to set on the control."}}},{"type":"object","properties":{"selectionMode":{"oneOf":[{"type":"string","enum":["replace"]},{"type":"string","enum":["add"]},{"type":"string","enum":["remove"]}],"description":"How the value combines with the current selection. Defaults to `replace`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets a control's value, optionally combining with the current selection.","title":"Set Control Value"},{"allOf":[{"type":"object","required":["effect","scope"],"properties":{"effect":{"type":"string","enum":["clear-control"]},"scope":{"oneOf":[{"type":"object","required":["type","controlId"],"properties":{"type":{"type":"string","enum":["control"]},"controlId":{"type":"string"}},"description":"Clear a single control by its control ID.","title":"Control"},{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Clear every control in a container by the container element ID.","title":"Container"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["page"]}}},{"type":"object","properties":{"pageId":{"type":"string"}}}],"description":"Clear every control on a page by page ID, or the current page when omitted.","title":"Page"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"Clear every control in the workbook.","title":"Workbook"}],"description":"The scope of controls to clear. One of a specific `control`, all controls in a `container` or `page`, or the entire `workbook`."}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears one or more controls to empty or their published value.","title":"Clear Control"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["reset-form"]}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Resets all fields in the host form to empty or published values.","title":"Reset Form"},{"allOf":[{"type":"object","required":["effect","formElementId","values"],"properties":{"effect":{"type":"string","enum":["set-form-values"]},"formElementId":{"type":"string","description":"The element id of the target form to set."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Form fieldId -> the value to write into that field on the target form."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets one or more values on a target form.","title":"Set Form Values"},{"allOf":[{"type":"object","required":["effect","target","value"],"properties":{"effect":{"type":"string","enum":["set-single-row-container"]},"target":{"oneOf":[{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Set a single-row container element by its container element ID.","title":"Container"},{"type":"object","required":["type","modalId"],"properties":{"type":{"type":"string","enum":["modal"]},"modalId":{"type":"string"}},"description":"Set the single-row container displayed in a modal, by the modal page ID.","title":"Modal"}],"description":"The single-row container to set."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The key-column value of the row to display."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets the row a single-row container displays.","title":"Set Single Row Container"},{"allOf":[{"type":"object","required":["effect","chatElementId"],"properties":{"effect":{"type":"string","enum":["clear-chat-element-messages"]},"chatElementId":{"type":"string","description":"The chat element whose message history to clear."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears a chat element's message history.","title":"Clear Chat Element Messages"},{"allOf":[{"type":"object","required":["effect","storedProcedure"],"properties":{"effect":{"type":"string","enum":["call-stored-procedure"]},"storedProcedure":{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","properties":{"signature":{"type":"string","description":"Stored procedure signature to run, using the display text shown in the workbook action editor."}}}],"description":"Stored procedure to run, identified by its connection and warehouse path."}}},{"type":"object","properties":{"arguments":{"type":"array","items":{"type":"object","required":["parameterIndex","type","value"],"properties":{"parameterIndex":{"type":"number","description":"Identifies which stored procedure input this argument supplies, using 0 for the first parameter."},"type":{"type":"string","enum":["boolean","datetime","number","integer","text"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}}},"description":"Values to pass to stored procedure inputs. Omitted inputs will be filled with default values for their parameter type."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls a stored procedure.","title":"Call Stored Procedure"},{"allOf":[{"type":"object","required":["effect","tableElementId","values"],"properties":{"effect":{"type":"string","enum":["insert-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table. Cannot be a linked input table."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The identifier of the column in the target table to write to and the value to write. Omitted columns keep the table's default."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Inserts a row into a target input table.","title":"Insert Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows","values"],"properties":{"effect":{"type":"string","enum":["update-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table element. Can reference a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to update in the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The values to write into matched rows, specified by column ID."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Updates matched rows in a target input table.","title":"Update Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows"],"properties":{"effect":{"type":"string","enum":["delete-rows"]},"tableElementId":{"type":"string","description":"The input table to delete rows from. Cannot be a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to delete from the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Deletes matched rows from a target input table.","title":"Delete Rows"},{"allOf":[{"oneOf":[{"allOf":[{"type":"object","required":["effect","channel","recipients","subject","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["email"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"subject":{"type":"string","description":"The email subject. Supports dynamic-text {{formula}} values."},"messageBody":{"type":"string","description":"The email body. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}},{"type":"object","properties":{"ccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients copied on the email."},"bccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients blind-copied on the email."},"runAsRecipient":{"type":"boolean","description":"Render the export using each recipient's own permissions. Defaults to false."},"zipAttachments":{"type":"boolean","description":"Compress the attachments into a single zip file. Defaults to false."}}}],"description":"Send a notification by email.","title":"Email notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["slack"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Slack message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Slack.","title":"Slack notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["ms-teams"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Microsoft Teams message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Microsoft Teams.","title":"Microsoft Teams notification"},{"allOf":[{"type":"object","required":["effect","channel","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["download"]},"source":{"oneOf":[{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},{"type":"object","required":["type","documentId"],"properties":{"type":{"type":"string","enum":["external-report"]},"documentId":{"type":"string"}},"description":"An external report.","title":"External Report"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Comma-separated values.","title":"CSV"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"includeMetadata":{"type":"boolean"},"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Microsoft Excel workbook.","title":"Excel"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}},"description":"JSON data.","title":"JSON"},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}},"description":"PDF document.","title":"PDF"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}},"description":"PNG image.","title":"PNG"}]}}},{"type":"object","properties":{"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Export content for browser download.","title":"Browser download"},{"type":"object","required":["effect","channel","endpoints","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["webhook"]},"endpoints":{"type":"array","items":{"type":"string"},"description":"The webhook endpoints that receive the export."},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}}]}},"description":"Send exported content to a webhook.","title":"Webhook export"},{"type":"object","required":["effect","channel","folderUrl","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["sharepoint"]},"folderUrl":{"type":"string","description":"The SharePoint folder URL that receives the export."},"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]}},"description":"Send exported content to SharePoint.","title":"SharePoint export"},{"allOf":[{"type":"object","required":["effect","channel","source","uri"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["cloud-storage"]},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"uri":{"type":"string","description":"The cloud storage URI, e.g. `s3://bucket/path`."}}},{"type":"object","properties":{"cloudStorageAccess":{"type":"string","description":"The cloud storage access configuration: a Snowflake storage integration or Redshift IAM role. Omit for a Snowflake external-stage URI."},"gzip":{"type":"boolean","description":"Compress the exported file with gzip."},"prefixTimestamp":{"type":"boolean","description":"Prefix the exported file name with the current date and time."}}}],"description":"Export content to cloud storage through the data warehouse.","title":"Cloud storage export"}]},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a notification or exports workbook content.","title":"Notify and Export"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["refresh-element"]},"target":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The element to refresh. Refreshing a parent element also refreshes its child elements."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Refreshes a single element's data. Does not apply to materialized elements.","title":"Refresh Element"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["navigate"]},"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The page or element to navigate to."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Navigates to a page or element in this workbook.","title":"Navigate"},{"allOf":[{"type":"object","required":["effect","documentId","openTarget","documentType"],"properties":{"effect":{"type":"string","enum":["open-document"]},"documentId":{"type":"string","description":"The identifier of the workbook or report to open."},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the document opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."},"documentType":{"oneOf":[{"type":"string","enum":["workbook"]},{"type":"string","enum":["report"]}],"description":"The type of document to open."}}},{"type":"object","properties":{"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The identifier of a page or element to open inside the target document. Values are passed through as specified without validation."},"targetControls":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The set of controls in the target document and the values to set them to when the document is opened, as key-value pairs. Keys name inputs in the target document. Values must be specified from the current workbook."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens another workbook or report.","title":"Open Document"},{"allOf":[{"type":"object","required":["effect","tabbedContainerElementId","selectedTab"],"properties":{"effect":{"type":"string","enum":["select-tab"]},"tabbedContainerElementId":{"type":"string","description":"The tabbed container element to select a tab in."},"selectedTab":{"oneOf":[{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["direction"]},"direction":{"oneOf":[{"type":"string","enum":["next"]},{"type":"string","enum":["previous"]}]}},"description":"Selects a tab relative to the currently active tab.","title":"Direction"},{"type":"object","required":["type","index"],"properties":{"type":{"type":"string","enum":["tab"]},"index":{"type":"number","description":"The 0-based index into the tabbed container's tab order. The first tab is `0`."}},"description":"The 0-based index of the tab to display in the tabbed container. The first tab is `0`.","title":"Tab"}],"description":"The tab to select. Set `type` to `direction` with a `direction` (`next` or `previous`), or `tab` with a 0-based `index`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Selects a tab on a tabbed container.","title":"Select Tab"},{"allOf":[{"type":"object","required":["effect","elementId","sort"],"properties":{"effect":{"type":"string","enum":["custom-sort"]},"elementId":{"type":"string","description":"The element to sort."},"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation function for the sort. Only valid when `by` references a column ID (not \"row-count\")."},"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How null values sort. Omit, or use 'connection-default', for the connection's default null ordering."}}}]},{"type":"object","required":["type","columns"],"properties":{"type":{"type":"string","enum":["level"]},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How the sort order treats null values."}}}]},"description":"Ordered list of columns to sort by."}}}],"description":"The sort to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sorts a chart (or pivot table) by one of its columns, or a Table's rows by an ordered list of columns.","title":"Custom Sort"},{"allOf":[{"type":"object","required":["effect","elementId","modification"],"properties":{"effect":{"type":"string","enum":["modify-element"]},"elementId":{"type":"string","description":"The element to modify."},"modification":{"oneOf":[{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["move-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["base"]}},"title":"Base destination"}],"description":"Where to move the column."},"source":{"oneOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"title":"Column source"},{"allOf":[{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}},{"type":"object","properties":{"matchOrder":{"type":"boolean","description":"Order the moved column(s) to match the control's selected-value order. Requires a multi-select control."}}}]}],"description":"The column to move, or a control whose selected values determine which columns to move."}}},{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["swap-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"}],"description":"Where to move the column. The column already occupying this destination is moved to where `source` came from."},"source":{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"description":"The column to swap."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["show-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to show, or a control whose selected values determine which columns to show."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["hide-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to hide, or a control whose selected values determine which columns to hide."}}},{"allOf":[{"type":"object","required":["type","scale"],"properties":{"type":{"type":"string","enum":["set-axis-scale"]},"scale":{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."}},"description":"The scale to apply."}}},{"type":"object","properties":{"axis":{"oneOf":[{"type":"string","enum":["dimension"]},{"type":"string","enum":["value"]},{"type":"string","enum":["secondary-value"]}],"description":"Which axis to scale: the category/dimension axis, the primary measure axis (default), or the secondary measure axis (columns flagged onto it)."}}}]}],"description":"The modification to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Shows, hides, moves, or swaps columns, or sets an axis scale, on a chart, pivot table, or Table element.","title":"Modify Element"},{"allOf":[{"type":"object","required":["effect","codeElementId"],"properties":{"effect":{"type":"string","enum":["run-python-element"]},"codeElementId":{"type":"string","description":"The code element to run."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Runs a code element.","title":"Run Python Element"},{"allOf":[{"type":"object","required":["effect","pluginElementId","pluginEffectId"],"properties":{"effect":{"type":"string","enum":["trigger-plugin"]},"pluginElementId":{"type":"string","description":"The plugin element whose action effect to trigger."},"pluginEffectId":{"type":"string","description":"The action effect ID registered by the plugin."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Triggers an action effect within a plugin element.","title":"Trigger Plugin"},{"allOf":[{"type":"object","required":["effect","eventName","payload"],"properties":{"effect":{"type":"string","enum":["send-embed-event"]},"eventName":{"type":"string","description":"The event name included in the posted message."},"payload":{"type":"array","items":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","description":"The key for this value in the posted message payload."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The value to include."}}},"description":"Key-value pairs included in the posted message payload, in order."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a message to the embedding parent page.","title":"Send Embed Event"}]},"description":"Effects that run when this branch is selected."}}},"description":"Additional branches, evaluated in order if `if` does not match."},"else":{"type":"object","required":["effects"],"properties":{"effects":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["effect","connectorId"],"properties":{"effect":{"type":"string","enum":["call-api"]},"connectorId":{"type":"string","description":"The ID of the API connector to call."}}},{"type":"object","properties":{"arguments":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Values to send to the API connector, keyed by parameter name."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls an API connector with configured values.","title":"Call API"},{"allOf":[{"type":"object","required":["effect","openTarget"],"properties":{"effect":{"type":"string","enum":["open-url"]},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the URL opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."}}},{"type":"object","properties":{"url":{"type":"string","description":"The URL to open. Supports dynamic `{{formula}}` text."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a URL in the same tab, a new tab, or the parent frame.","title":"Open URL"},{"allOf":[{"type":"object","required":["effect","overlayId"],"properties":{"effect":{"type":"string","enum":["open-overlay"]},"overlayId":{"type":"string","description":"The identifier of the modal or drawer to open."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a modal.","title":"Open Overlay"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["close-overlay"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Closes the currently open modal.","title":"Close Overlay"},{"allOf":[{"type":"object","required":["effect","control","value"],"properties":{"effect":{"type":"string","enum":["set-control-value"]},"control":{"type":"string","description":"The control ID of the control to update with a new value."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"description":"The value to set on the control."}}},{"type":"object","properties":{"selectionMode":{"oneOf":[{"type":"string","enum":["replace"]},{"type":"string","enum":["add"]},{"type":"string","enum":["remove"]}],"description":"How the value combines with the current selection. Defaults to `replace`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets a control's value, optionally combining with the current selection.","title":"Set Control Value"},{"allOf":[{"type":"object","required":["effect","scope"],"properties":{"effect":{"type":"string","enum":["clear-control"]},"scope":{"oneOf":[{"type":"object","required":["type","controlId"],"properties":{"type":{"type":"string","enum":["control"]},"controlId":{"type":"string"}},"description":"Clear a single control by its control ID.","title":"Control"},{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Clear every control in a container by the container element ID.","title":"Container"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["page"]}}},{"type":"object","properties":{"pageId":{"type":"string"}}}],"description":"Clear every control on a page by page ID, or the current page when omitted.","title":"Page"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"Clear every control in the workbook.","title":"Workbook"}],"description":"The scope of controls to clear. One of a specific `control`, all controls in a `container` or `page`, or the entire `workbook`."}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears one or more controls to empty or their published value.","title":"Clear Control"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["reset-form"]}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Resets all fields in the host form to empty or published values.","title":"Reset Form"},{"allOf":[{"type":"object","required":["effect","formElementId","values"],"properties":{"effect":{"type":"string","enum":["set-form-values"]},"formElementId":{"type":"string","description":"The element id of the target form to set."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Form fieldId -> the value to write into that field on the target form."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets one or more values on a target form.","title":"Set Form Values"},{"allOf":[{"type":"object","required":["effect","target","value"],"properties":{"effect":{"type":"string","enum":["set-single-row-container"]},"target":{"oneOf":[{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Set a single-row container element by its container element ID.","title":"Container"},{"type":"object","required":["type","modalId"],"properties":{"type":{"type":"string","enum":["modal"]},"modalId":{"type":"string"}},"description":"Set the single-row container displayed in a modal, by the modal page ID.","title":"Modal"}],"description":"The single-row container to set."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The key-column value of the row to display."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets the row a single-row container displays.","title":"Set Single Row Container"},{"allOf":[{"type":"object","required":["effect","chatElementId"],"properties":{"effect":{"type":"string","enum":["clear-chat-element-messages"]},"chatElementId":{"type":"string","description":"The chat element whose message history to clear."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears a chat element's message history.","title":"Clear Chat Element Messages"},{"allOf":[{"type":"object","required":["effect","storedProcedure"],"properties":{"effect":{"type":"string","enum":["call-stored-procedure"]},"storedProcedure":{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","properties":{"signature":{"type":"string","description":"Stored procedure signature to run, using the display text shown in the workbook action editor."}}}],"description":"Stored procedure to run, identified by its connection and warehouse path."}}},{"type":"object","properties":{"arguments":{"type":"array","items":{"type":"object","required":["parameterIndex","type","value"],"properties":{"parameterIndex":{"type":"number","description":"Identifies which stored procedure input this argument supplies, using 0 for the first parameter."},"type":{"type":"string","enum":["boolean","datetime","number","integer","text"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}}},"description":"Values to pass to stored procedure inputs. Omitted inputs will be filled with default values for their parameter type."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls a stored procedure.","title":"Call Stored Procedure"},{"allOf":[{"type":"object","required":["effect","tableElementId","values"],"properties":{"effect":{"type":"string","enum":["insert-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table. Cannot be a linked input table."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The identifier of the column in the target table to write to and the value to write. Omitted columns keep the table's default."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Inserts a row into a target input table.","title":"Insert Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows","values"],"properties":{"effect":{"type":"string","enum":["update-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table element. Can reference a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to update in the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The values to write into matched rows, specified by column ID."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Updates matched rows in a target input table.","title":"Update Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows"],"properties":{"effect":{"type":"string","enum":["delete-rows"]},"tableElementId":{"type":"string","description":"The input table to delete rows from. Cannot be a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to delete from the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Deletes matched rows from a target input table.","title":"Delete Rows"},{"allOf":[{"oneOf":[{"allOf":[{"type":"object","required":["effect","channel","recipients","subject","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["email"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"subject":{"type":"string","description":"The email subject. Supports dynamic-text {{formula}} values."},"messageBody":{"type":"string","description":"The email body. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}},{"type":"object","properties":{"ccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients copied on the email."},"bccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients blind-copied on the email."},"runAsRecipient":{"type":"boolean","description":"Render the export using each recipient's own permissions. Defaults to false."},"zipAttachments":{"type":"boolean","description":"Compress the attachments into a single zip file. Defaults to false."}}}],"description":"Send a notification by email.","title":"Email notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["slack"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Slack message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Slack.","title":"Slack notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["ms-teams"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Microsoft Teams message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Microsoft Teams.","title":"Microsoft Teams notification"},{"allOf":[{"type":"object","required":["effect","channel","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["download"]},"source":{"oneOf":[{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},{"type":"object","required":["type","documentId"],"properties":{"type":{"type":"string","enum":["external-report"]},"documentId":{"type":"string"}},"description":"An external report.","title":"External Report"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Comma-separated values.","title":"CSV"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"includeMetadata":{"type":"boolean"},"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Microsoft Excel workbook.","title":"Excel"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}},"description":"JSON data.","title":"JSON"},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}},"description":"PDF document.","title":"PDF"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}},"description":"PNG image.","title":"PNG"}]}}},{"type":"object","properties":{"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Export content for browser download.","title":"Browser download"},{"type":"object","required":["effect","channel","endpoints","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["webhook"]},"endpoints":{"type":"array","items":{"type":"string"},"description":"The webhook endpoints that receive the export."},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}}]}},"description":"Send exported content to a webhook.","title":"Webhook export"},{"type":"object","required":["effect","channel","folderUrl","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["sharepoint"]},"folderUrl":{"type":"string","description":"The SharePoint folder URL that receives the export."},"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]}},"description":"Send exported content to SharePoint.","title":"SharePoint export"},{"allOf":[{"type":"object","required":["effect","channel","source","uri"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["cloud-storage"]},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"uri":{"type":"string","description":"The cloud storage URI, e.g. `s3://bucket/path`."}}},{"type":"object","properties":{"cloudStorageAccess":{"type":"string","description":"The cloud storage access configuration: a Snowflake storage integration or Redshift IAM role. Omit for a Snowflake external-stage URI."},"gzip":{"type":"boolean","description":"Compress the exported file with gzip."},"prefixTimestamp":{"type":"boolean","description":"Prefix the exported file name with the current date and time."}}}],"description":"Export content to cloud storage through the data warehouse.","title":"Cloud storage export"}]},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a notification or exports workbook content.","title":"Notify and Export"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["refresh-element"]},"target":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The element to refresh. Refreshing a parent element also refreshes its child elements."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Refreshes a single element's data. Does not apply to materialized elements.","title":"Refresh Element"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["navigate"]},"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The page or element to navigate to."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Navigates to a page or element in this workbook.","title":"Navigate"},{"allOf":[{"type":"object","required":["effect","documentId","openTarget","documentType"],"properties":{"effect":{"type":"string","enum":["open-document"]},"documentId":{"type":"string","description":"The identifier of the workbook or report to open."},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the document opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."},"documentType":{"oneOf":[{"type":"string","enum":["workbook"]},{"type":"string","enum":["report"]}],"description":"The type of document to open."}}},{"type":"object","properties":{"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The identifier of a page or element to open inside the target document. Values are passed through as specified without validation."},"targetControls":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The set of controls in the target document and the values to set them to when the document is opened, as key-value pairs. Keys name inputs in the target document. Values must be specified from the current workbook."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens another workbook or report.","title":"Open Document"},{"allOf":[{"type":"object","required":["effect","tabbedContainerElementId","selectedTab"],"properties":{"effect":{"type":"string","enum":["select-tab"]},"tabbedContainerElementId":{"type":"string","description":"The tabbed container element to select a tab in."},"selectedTab":{"oneOf":[{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["direction"]},"direction":{"oneOf":[{"type":"string","enum":["next"]},{"type":"string","enum":["previous"]}]}},"description":"Selects a tab relative to the currently active tab.","title":"Direction"},{"type":"object","required":["type","index"],"properties":{"type":{"type":"string","enum":["tab"]},"index":{"type":"number","description":"The 0-based index into the tabbed container's tab order. The first tab is `0`."}},"description":"The 0-based index of the tab to display in the tabbed container. The first tab is `0`.","title":"Tab"}],"description":"The tab to select. Set `type` to `direction` with a `direction` (`next` or `previous`), or `tab` with a 0-based `index`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Selects a tab on a tabbed container.","title":"Select Tab"},{"allOf":[{"type":"object","required":["effect","elementId","sort"],"properties":{"effect":{"type":"string","enum":["custom-sort"]},"elementId":{"type":"string","description":"The element to sort."},"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation function for the sort. Only valid when `by` references a column ID (not \"row-count\")."},"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How null values sort. Omit, or use 'connection-default', for the connection's default null ordering."}}}]},{"type":"object","required":["type","columns"],"properties":{"type":{"type":"string","enum":["level"]},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How the sort order treats null values."}}}]},"description":"Ordered list of columns to sort by."}}}],"description":"The sort to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sorts a chart (or pivot table) by one of its columns, or a Table's rows by an ordered list of columns.","title":"Custom Sort"},{"allOf":[{"type":"object","required":["effect","elementId","modification"],"properties":{"effect":{"type":"string","enum":["modify-element"]},"elementId":{"type":"string","description":"The element to modify."},"modification":{"oneOf":[{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["move-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["base"]}},"title":"Base destination"}],"description":"Where to move the column."},"source":{"oneOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"title":"Column source"},{"allOf":[{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}},{"type":"object","properties":{"matchOrder":{"type":"boolean","description":"Order the moved column(s) to match the control's selected-value order. Requires a multi-select control."}}}]}],"description":"The column to move, or a control whose selected values determine which columns to move."}}},{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["swap-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"}],"description":"Where to move the column. The column already occupying this destination is moved to where `source` came from."},"source":{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"description":"The column to swap."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["show-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to show, or a control whose selected values determine which columns to show."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["hide-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to hide, or a control whose selected values determine which columns to hide."}}},{"allOf":[{"type":"object","required":["type","scale"],"properties":{"type":{"type":"string","enum":["set-axis-scale"]},"scale":{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."}},"description":"The scale to apply."}}},{"type":"object","properties":{"axis":{"oneOf":[{"type":"string","enum":["dimension"]},{"type":"string","enum":["value"]},{"type":"string","enum":["secondary-value"]}],"description":"Which axis to scale: the category/dimension axis, the primary measure axis (default), or the secondary measure axis (columns flagged onto it)."}}}]}],"description":"The modification to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Shows, hides, moves, or swaps columns, or sets an axis scale, on a chart, pivot table, or Table element.","title":"Modify Element"},{"allOf":[{"type":"object","required":["effect","codeElementId"],"properties":{"effect":{"type":"string","enum":["run-python-element"]},"codeElementId":{"type":"string","description":"The code element to run."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Runs a code element.","title":"Run Python Element"},{"allOf":[{"type":"object","required":["effect","pluginElementId","pluginEffectId"],"properties":{"effect":{"type":"string","enum":["trigger-plugin"]},"pluginElementId":{"type":"string","description":"The plugin element whose action effect to trigger."},"pluginEffectId":{"type":"string","description":"The action effect ID registered by the plugin."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Triggers an action effect within a plugin element.","title":"Trigger Plugin"},{"allOf":[{"type":"object","required":["effect","eventName","payload"],"properties":{"effect":{"type":"string","enum":["send-embed-event"]},"eventName":{"type":"string","description":"The event name included in the posted message."},"payload":{"type":"array","items":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","description":"The key for this value in the posted message payload."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The value to include."}}},"description":"Key-value pairs included in the posted message payload, in order."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a message to the embedding parent page.","title":"Send Embed Event"}]},"description":"Effects that run when no branch condition matches."}},"description":"Runs when no branch condition matches."}}}],"description":"Runs different effects depending on a condition.","title":"If/Else"}]},"description":"The effects that run when the trigger occurs."}}},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for the action."},"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the action runs. Defaults to `enabled`."},"successToast":{"allOf":[{"type":"object","required":["showMessage"],"properties":{"showMessage":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the `message` line renders below the title of the action success message."}}},{"type":"object","properties":{"title":{"type":"string","description":"The title of the action success message. Supports dynamic `{{formula}}` text."},"message":{"type":"string","description":"The message displayed to the user when the action completes successfully."}}}],"description":"The message shown after this action runs successfully."},"summary":{"type":"string","description":"A description of what this action sequence does."}}}]}},"WorkbookSpec":{"allOf":[{"type":"object","required":["workbookId"],"properties":{"workbookId":{"type":"string","description":"Unique identifier of the workbook.","title":"Workbook ID"}}},{"type":"object","required":["name","url","documentVersion","latestDocumentVersion","ownerId","folderId","createdBy","updatedBy","createdAt","updatedAt"],"properties":{"name":{"type":"string","description":"The name of the workbook."},"url":{"type":"string","description":"The full URL for the requested document version of the workbook."},"documentVersion":{"type":"number","description":"The document version of the workbook."},"latestDocumentVersion":{"type":"number","description":"The most recently published document version of the workbook."},"ownerId":{"type":"string","description":"The identifier of the user who owns the workbook."},"folderId":{"type":"string","description":"The identifier of the folder in which the workbook is located."},"createdBy":{"type":"string","description":"The identifier of the user who created the workbook."},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated the workbook."},"createdAt":{"type":"string","format":"date-time","description":"When the workbook was created."},"updatedAt":{"type":"string","format":"date-time","description":"When the workbook was last updated."}}},{"type":"object","properties":{"description":{"type":"string","description":"The description of the workbook."}}},{"type":"object","required":["document"],"properties":{"document":{"allOf":[{"allOf":[{"type":"object","required":["schemaVersion"],"properties":{"schemaVersion":{"type":"number","enum":[1],"description":"The schema version used by this representation of the workbook."}}},{"type":"object","properties":{"kind":{"type":"string","enum":["workbook"],"description":"The document kind. Ignored when creating or updating."}}},{"type":"object","required":["pages"],"properties":{"pages":{"type":"array","items":{"allOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"The identifier of the page in the workbook."},"name":{"type":"string","description":"The name of the page."}}},{"type":"object","required":[],"properties":{}},{"type":"object","properties":{"type":{"type":"string","enum":["page"],"description":"The page type, distinguishing a regular page from a `modal`, `drawer`, or `popover`. Only `page` can be set. If omitted, `page` is assumed."},"visibility":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["specific-users-and-teams"]},"assignments":{"type":"object","properties":{"users":{"type":"array","items":{"type":"string"},"description":"The identifiers of the users allowed to view this page."},"teams":{"type":"array","items":{"type":"string"},"description":"The identifiers of the teams allowed to view this page."}},"description":"The identifiers of the users and teams allowed to view this page."}}}],"description":"The visibility settings for the page. If omitted, the page is visible to all users. Specify `hidden` to hide the page, or define `{ kind: 'specific-users-and-teams', assignments: { users: [...], teams: [...] } }` to limit visibility to particular users and teams."}}},{"type":"object","properties":{"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}],"description":"The page background image. The URL supports dynamic `{{formula}}` text."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."},"pageWidth":{"oneOf":[{"type":"string","enum":["full"]},{"type":"string","enum":["large"]},{"type":"string","enum":["medium"]},{"type":"object","required":["mode","maxWidth"],"properties":{"mode":{"type":"string","enum":["custom"]},"maxWidth":{"type":"number","description":"The fixed page width in pixels, when `mode` is `custom`."}}}],"description":"The width of the page. One of `full`, `large`, `medium`, or `{ mode: 'custom', maxWidth }` for a fixed pixel width."}}}],"title":"Page"},"description":"The pages of the workbook."}}},{"type":"object","required":["elements"],"properties":{"elements":{"type":"array","items":{"$ref":"#/components/schemas/WorkbookElement"},"description":"The elements in this workbook and their definitions."}}},{"type":"object","properties":{"overlays":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","type","name"],"properties":{"id":{"type":"string","description":"The identifier of the modal page."},"type":{"type":"string","enum":["modal"],"description":"Marks this page as a modal."},"name":{"type":"string","description":"The name of the modal."}}},{"type":"object","properties":{"modal":{"allOf":[{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["x-small"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]},{"type":"string","enum":["x-large"]}],"description":"The overlay width."},"header":{"type":"object","properties":{"title":{"type":"string","description":"The header title. Supports dynamic `{{formula}}` text."},"showTitle":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the title."},"showCloseIcon":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the close button."}},"description":"The header configuration, including title text and close-icon visibility."}}},{"type":"object","properties":{"footer":{"type":"object","properties":{"primaryCta":{"type":"object","properties":{"visible":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the button is shown."},"text":{"type":"string","description":"The button label. Supports dynamic `{{formula}}` text."}},"description":"The primary footer button."},"secondaryCta":{"type":"object","properties":{"visible":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the button is shown."},"text":{"type":"string","description":"The button label. Supports dynamic `{{formula}}` text."}},"description":"The secondary footer button."}},"description":"The footer with primary and secondary buttons."}}}],"description":"The modal presentation options, including width, header, and footer buttons."},"singleRowContainer":{"allOf":[{"type":"object","required":["source","keyColumnId"],"properties":{"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source that supplies the displayed row."},"keyColumnId":{"type":"string","description":"The ID of the source column that identifies which row is displayed. Must be a column declared on the source."}}},{"type":"object","properties":{"keyColumnValue":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The key-column value of the row to display. Must match the key column type. Omit to pin no row."}}}],"description":"Pins the modal to one row of a source: the elements inside it show that row. Omit for an ordinary modal."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions on the modal. Each action's `trigger` must be one of `on-primary-cta-click`, `on-secondary-cta-click`, or `on-close`."},"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}],"description":"The background image for the modal. The URL supports dynamic `{{formula}}` text."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."}}}],"title":"Modal"},{"allOf":[{"type":"object","required":["id","type","name"],"properties":{"id":{"type":"string","description":"The identifier of the drawer page."},"type":{"type":"string","enum":["drawer"],"description":"Marks this page as a drawer."},"name":{"type":"string","description":"The name of the drawer."}}},{"type":"object","properties":{"drawer":{"allOf":[{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["x-small"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]},{"type":"string","enum":["x-large"]}],"description":"The overlay width."},"header":{"type":"object","properties":{"title":{"type":"string","description":"The header title. Supports dynamic `{{formula}}` text."},"showTitle":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the title."},"showCloseIcon":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the close button."}},"description":"The header configuration, including title text and close-icon visibility."}}},{"type":"object","properties":{"showShadow":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether to display the drawer as a page overlay, dimming the page behind it when open. Either `shown` to dim the background page or `hidden` for none."}}}],"description":"The presentation of the drawer, including width, header, and page overlay."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by the drawer, on close."},"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}],"description":"Background image for the drawer. The URL supports dynamic `{{formula}}` text."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."}}}],"title":"Drawer"},{"allOf":[{"type":"object","required":["id","type","name","popover"],"properties":{"id":{"type":"string","description":"The identifier of the popover page."},"type":{"type":"string","enum":["popover"],"description":"Marks this page as a popover."},"name":{"type":"string","description":"The name of the popover."},"popover":{"allOf":[{"type":"object","required":["triggerElementId"],"properties":{"triggerElementId":{"type":"string","description":"The identifier of the button that triggers the popover."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["x-small"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]},{"type":"string","enum":["x-large"]}],"description":"Popover width breakpoint: x-small, small, medium, large, or x-large."},"spacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The element spacing preset."},"padding":{"type":"string","enum":["none"],"description":"Set to 'none' to remove padding from the popover."},"elementGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Gap between popover elements: 'shown' (default) or 'hidden'."}}}],"description":"Popover presentation: trigger button, width, spacing, padding, and element gap."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions fired by the popover when it closes."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."}}}],"title":"Popover"}]},"description":"The modals, drawers, and popovers in this workbook and their contents."}}},{"type":"object","properties":{"panels":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the page header."},"type":{"type":"string","enum":["header"],"description":"Identifies this panel as a page header."}}},{"type":"object","properties":{"title":{"type":"string","description":"The display name of the header."},"pages":{"type":"array","items":{"type":"string"},"description":"Ids of the pages this panel is applied to. A page may have at most one header and one sidebar, and only normal pages can carry panels (not modals or drawers). Omit when the panel is defined but unassigned."},"config":{"type":"object","properties":{"scroll":{"oneOf":[{"type":"string","enum":["sticky"]},{"type":"string","enum":["none"]}],"description":"How the panel behaves as the page scrolls. 'sticky' pins it in place; 'none' lets it scroll away. Defaults to 'sticky'."},"borderStyle":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["shadow"]},{"type":"string","enum":["none"]}],"description":"The border drawn below the header. One of `line`, `shadow`, or `none`. `shadow` applies only when `scroll` is `sticky`."},"backgroundColor":{"type":"string","description":"Panel background color. Omit to follow the theme."}},"description":"The header presentation, including scroll behavior, border, background, and height."}}}],"title":"PageHeader"},{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the page sidebar."},"type":{"type":"string","enum":["sidebar"],"description":"Identifies this panel as a page sidebar."}}},{"type":"object","properties":{"title":{"type":"string","description":"The display name of the sidebar."},"pages":{"type":"array","items":{"type":"string"},"description":"Ids of the pages this panel is applied to. A page may have at most one header and one sidebar, and only normal pages can carry panels (not modals or drawers). Omit when the panel is defined but unassigned."},"width":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"Sidebar width preset. One of `small` (200px), `medium` (260px), or `large` (400px). Defaults to `medium`."},"config":{"type":"object","properties":{"scroll":{"oneOf":[{"type":"string","enum":["sticky"]},{"type":"string","enum":["none"]}],"description":"How the panel behaves as the page scrolls. 'sticky' pins it in place; 'none' lets it scroll away. Defaults to 'sticky'."},"borderStyle":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["none"]}],"description":"The border style for the sidebar."},"backgroundColor":{"type":"string","description":"Panel background color. Omit to follow the theme."}},"description":"The sidebar presentation, including scroll behavior, border, and background color."}}}],"title":"PageSidebar"}]},"description":"The definitions of page headers and sidebars in this document."}}},{"type":"object","properties":{"settings":{"type":"object","properties":{"theme":{"type":"object","properties":{"name":{"oneOf":[{"oneOf":[{"type":"string","enum":["Light"]},{"type":"string","enum":["Dark"]},{"type":"string","enum":["Surface"]}]},{"type":"string"}],"description":"The name of a built-in theme (`Light`, `Dark`, or `Surface`) or the UUID of an organization theme. Omit to use the organization default theme, or `Light` when the organization has no default."},"overrides":{"type":"object","properties":{"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"categoricalScheme":{"oneOf":[{"type":"string","description":"Named categorical palette.","title":"Named palette"},{"type":"array","items":{"type":"string"},"description":"Custom hex color list.","title":"Custom palette"}],"description":"The categorical color palette, as a palette name or custom hex array. Defaults to `superbloom`."},"colorOverrides":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","description":"ColorTheme slot name (matches the theme color inspector, e.g. baseCanvasSurface)."},"color":{"type":"string"}}},"description":"Overrides for particular layout theme colors as hex codes. Keys match the theme color inspector (e.g. baseCanvasSurface, elementBackground)."},"colors":{"type":"object","properties":{"text":{"type":"string","description":"The primary text color, as a hex code."},"highlight":{"type":"string","description":"The highlight or accent color, as a hex code. Maps to the theme's `$primary` color."},"surface":{"type":"string","description":"The surface color, as a hex code."},"success":{"type":"string","description":"The success color, as a hex code."},"warning":{"type":"string","description":"The warning color, as a hex code."},"danger":{"type":"string","description":"The danger color, as a hex code."},"darkMode":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether dark color mode is on. Defaults to `hidden`."}}},"divergingScheme":{"type":"string","description":"The named diverging color scheme. Defaults to `blueorange`."},"elementBorder":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"width":{"type":"number","description":"Element border width in pixels (0–3)."}}},"fonts":{"type":"object","properties":{"dataFont":{"type":"string","description":"The font family for workbook data. Defaults to `Roboto`."},"textFont":{"type":"string","description":"The font family for non-data text, like element titles, descriptions, and table headers."}}},"hasCards":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether elements are framed as cards (with a border, background, and padding). Defaults to `shown`."},"invertTooltipColors":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether to invert text and background colors in visualization tooltips. Defaults to `shown`."},"layoutColors":{"type":"object","properties":{"useElementForeground":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether elements render above the canvas."}}},"maxPageWidth":{"type":"number","description":"Max page width in pixels when pageWidth is custom (minimum 600)."},"pageWidth":{"oneOf":[{"type":"string","enum":["full"]},{"type":"string","enum":["large"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["custom"]}],"description":"The page content width."},"sequentialScheme":{"type":"string","description":"The named sequential color scheme. Defaults to `blues`."},"space":{"type":"object","properties":{"showElementPadding":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether padding around elements is shown. Defaults to `shown`."},"unit":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The element spacing preset."}}},"tableStyles":{"$ref":"#/components/schemas/TableStyle"},"titleFont":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Title font size in pixels (6–96)."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}]}}}},"description":"Customizations applied on top of the base theme selected by `name`, or the document's default theme when `name` is omitted."}},"description":"The document theme. Either the name of a theme in the organization or a built-in theme. Optionally, applies per-field overrides to the theme for colors and fonts.","title":"Theme"},"navigation":{"type":"object","properties":{"pageHeader":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether page headers are enabled in the workbook. Defaults to `disabled`. A page also needs a header panel assigned before one renders."},"pageSidebar":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether page sidebars are enabled in the workbook. Defaults to `disabled`. A page also needs a sidebar panel assigned before one renders."},"primary":{"oneOf":[{"type":"string","enum":["sidebar"]},{"type":"string","enum":["header"]}],"description":"Which panel overlays the other when a page has both a header and a sidebar. If panels have different scroll styles, the fixed panel overlays the scrolling panel. Defaults to `sidebar`."},"pageTabsInViewMode":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether viewers see the page tab bar. Defaults to `shown`."}},"description":"The workbook navigation settings for page headers, page sidebars, and page tabs. Omitting it drops any previously stored navigation settings."}},"description":"The document-level settings. Accepts `theme`, and `navigation` on a workbook. A report accepts `theme` alone.","title":"Document Settings"}}},{"type":"object","properties":{"agents":{"type":"array","items":{"allOf":[{"type":"object","required":["id","instructions"],"properties":{"id":{"type":"string","description":"The identifier of the agent."},"instructions":{"type":"string","description":"Instructions that guide the agent. Use `{{formula}}` for dynamic values, `@dataSource(\"elementId\")` for configured data sources, and `@tool(\"toolId\")` for configured tools."}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the agent."},"description":{"type":"string","description":"The description of the agent."},"greeting":{"oneOf":[{"type":"object","required":["mode","message"],"properties":{"mode":{"type":"string","enum":["static"]},"message":{"type":"string","description":"The first message an agent displays when the chat opens. Not generated by the AI provider. Supports dynamic `{{formula}}` text."}},"description":"","title":"Fixed greeting"},{"type":"object","required":["mode","prompt"],"properties":{"mode":{"type":"string","enum":["generated"]},"prompt":{"type":"string","description":"The prompt the agent uses to generate the first message displayed when the chat opens. Supports dynamic `{{formula}}` text."}},"description":"","title":"Generated greeting"}],"description":"The greeting message for the agent. Set `mode` to `static` with a `message`, or `generated` with a `prompt`. Omit for the product default."},"dataSources":{"type":"array","items":{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of a workbook element, such as a table or chart, the agent can read from."}},"description":"","title":"Workbook element"},"description":"The data elements or data model tables the agent can access."},"tools":{"type":"array","items":{"oneOf":[{"type":"object","required":["toolId","kind","connectorId","name"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["mcp-connector"]},"connectorId":{"type":"string","description":"The UUID of the MCP connector."},"name":{"type":"string","description":"The display name of the MCP connector."}},"description":"","title":"MCP connector"},{"allOf":[{"type":"object","required":["toolId","kind"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["warehouse-agent"]}}},{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","properties":{"description":{"type":"string","description":"A description of when the agent should invoke this warehouse agent."}}}],"description":"","title":"Warehouse agent"},{"allOf":[{"type":"object","required":["toolId","kind","description"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["search-service"]},"description":{"type":"string","description":"A description of what this search service can retrieve, used by the agent to decide when to call it."}}},{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}}],"description":"","title":"Search service"},{"allOf":[{"type":"object","required":["toolId","kind","name","description","steps"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["action"]},"name":{"type":"string","description":"The display name of the action tool."},"description":{"type":"string","description":"A description of what this tool does and when the agent should invoke it."},"steps":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["kind","sequenceId"],"properties":{"kind":{"type":"string","enum":["sequence"]},"sequenceId":{"type":"string","description":"The identifier of an action sequence in the workbook."}}},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for this step."}}}],"description":"","title":"Sequence reference"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["effect"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["effect","connectorId"],"properties":{"effect":{"type":"string","enum":["call-api"]},"connectorId":{"type":"string","description":"The ID of the API connector to call."}}},{"type":"object","properties":{"arguments":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Values to send to the API connector, keyed by parameter name."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls an API connector with configured values.","title":"Call API"},{"allOf":[{"type":"object","required":["effect","openTarget"],"properties":{"effect":{"type":"string","enum":["open-url"]},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the URL opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."}}},{"type":"object","properties":{"url":{"type":"string","description":"The URL to open. Supports dynamic `{{formula}}` text."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a URL in the same tab, a new tab, or the parent frame.","title":"Open URL"},{"allOf":[{"type":"object","required":["effect","overlayId"],"properties":{"effect":{"type":"string","enum":["open-overlay"]},"overlayId":{"type":"string","description":"The identifier of the modal or drawer to open."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a modal.","title":"Open Overlay"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["close-overlay"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Closes the currently open modal.","title":"Close Overlay"},{"allOf":[{"type":"object","required":["effect","control","value"],"properties":{"effect":{"type":"string","enum":["set-control-value"]},"control":{"type":"string","description":"The control ID of the control to update with a new value."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"description":"The value to set on the control."}}},{"type":"object","properties":{"selectionMode":{"oneOf":[{"type":"string","enum":["replace"]},{"type":"string","enum":["add"]},{"type":"string","enum":["remove"]}],"description":"How the value combines with the current selection. Defaults to `replace`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets a control's value, optionally combining with the current selection.","title":"Set Control Value"},{"allOf":[{"type":"object","required":["effect","scope"],"properties":{"effect":{"type":"string","enum":["clear-control"]},"scope":{"oneOf":[{"type":"object","required":["type","controlId"],"properties":{"type":{"type":"string","enum":["control"]},"controlId":{"type":"string"}},"description":"Clear a single control by its control ID.","title":"Control"},{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Clear every control in a container by the container element ID.","title":"Container"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["page"]}}},{"type":"object","properties":{"pageId":{"type":"string"}}}],"description":"Clear every control on a page by page ID, or the current page when omitted.","title":"Page"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"Clear every control in the workbook.","title":"Workbook"}],"description":"The scope of controls to clear. One of a specific `control`, all controls in a `container` or `page`, or the entire `workbook`."}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears one or more controls to empty or their published value.","title":"Clear Control"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["reset-form"]}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Resets all fields in the host form to empty or published values.","title":"Reset Form"},{"allOf":[{"type":"object","required":["effect","formElementId","values"],"properties":{"effect":{"type":"string","enum":["set-form-values"]},"formElementId":{"type":"string","description":"The element id of the target form to set."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Form fieldId -> the value to write into that field on the target form."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets one or more values on a target form.","title":"Set Form Values"},{"allOf":[{"type":"object","required":["effect","target","value"],"properties":{"effect":{"type":"string","enum":["set-single-row-container"]},"target":{"oneOf":[{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Set a single-row container element by its container element ID.","title":"Container"},{"type":"object","required":["type","modalId"],"properties":{"type":{"type":"string","enum":["modal"]},"modalId":{"type":"string"}},"description":"Set the single-row container displayed in a modal, by the modal page ID.","title":"Modal"}],"description":"The single-row container to set."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The key-column value of the row to display."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets the row a single-row container displays.","title":"Set Single Row Container"},{"allOf":[{"type":"object","required":["effect","chatElementId"],"properties":{"effect":{"type":"string","enum":["clear-chat-element-messages"]},"chatElementId":{"type":"string","description":"The chat element whose message history to clear."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears a chat element's message history.","title":"Clear Chat Element Messages"},{"allOf":[{"type":"object","required":["effect","storedProcedure"],"properties":{"effect":{"type":"string","enum":["call-stored-procedure"]},"storedProcedure":{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","properties":{"signature":{"type":"string","description":"Stored procedure signature to run, using the display text shown in the workbook action editor."}}}],"description":"Stored procedure to run, identified by its connection and warehouse path."}}},{"type":"object","properties":{"arguments":{"type":"array","items":{"type":"object","required":["parameterIndex","type","value"],"properties":{"parameterIndex":{"type":"number","description":"Identifies which stored procedure input this argument supplies, using 0 for the first parameter."},"type":{"type":"string","enum":["boolean","datetime","number","integer","text"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}}},"description":"Values to pass to stored procedure inputs. Omitted inputs will be filled with default values for their parameter type."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls a stored procedure.","title":"Call Stored Procedure"},{"allOf":[{"type":"object","required":["effect","tableElementId","values"],"properties":{"effect":{"type":"string","enum":["insert-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table. Cannot be a linked input table."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The identifier of the column in the target table to write to and the value to write. Omitted columns keep the table's default."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Inserts a row into a target input table.","title":"Insert Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows","values"],"properties":{"effect":{"type":"string","enum":["update-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table element. Can reference a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to update in the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The values to write into matched rows, specified by column ID."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Updates matched rows in a target input table.","title":"Update Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows"],"properties":{"effect":{"type":"string","enum":["delete-rows"]},"tableElementId":{"type":"string","description":"The input table to delete rows from. Cannot be a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to delete from the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Deletes matched rows from a target input table.","title":"Delete Rows"},{"allOf":[{"oneOf":[{"allOf":[{"type":"object","required":["effect","channel","recipients","subject","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["email"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"subject":{"type":"string","description":"The email subject. Supports dynamic-text {{formula}} values."},"messageBody":{"type":"string","description":"The email body. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}},{"type":"object","properties":{"ccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients copied on the email."},"bccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients blind-copied on the email."},"runAsRecipient":{"type":"boolean","description":"Render the export using each recipient's own permissions. Defaults to false."},"zipAttachments":{"type":"boolean","description":"Compress the attachments into a single zip file. Defaults to false."}}}],"description":"Send a notification by email.","title":"Email notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["slack"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Slack message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Slack.","title":"Slack notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["ms-teams"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Microsoft Teams message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Microsoft Teams.","title":"Microsoft Teams notification"},{"allOf":[{"type":"object","required":["effect","channel","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["download"]},"source":{"oneOf":[{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},{"type":"object","required":["type","documentId"],"properties":{"type":{"type":"string","enum":["external-report"]},"documentId":{"type":"string"}},"description":"An external report.","title":"External Report"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Comma-separated values.","title":"CSV"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"includeMetadata":{"type":"boolean"},"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Microsoft Excel workbook.","title":"Excel"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}},"description":"JSON data.","title":"JSON"},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}},"description":"PDF document.","title":"PDF"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}},"description":"PNG image.","title":"PNG"}]}}},{"type":"object","properties":{"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Export content for browser download.","title":"Browser download"},{"type":"object","required":["effect","channel","endpoints","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["webhook"]},"endpoints":{"type":"array","items":{"type":"string"},"description":"The webhook endpoints that receive the export."},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}}]}},"description":"Send exported content to a webhook.","title":"Webhook export"},{"type":"object","required":["effect","channel","folderUrl","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["sharepoint"]},"folderUrl":{"type":"string","description":"The SharePoint folder URL that receives the export."},"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]}},"description":"Send exported content to SharePoint.","title":"SharePoint export"},{"allOf":[{"type":"object","required":["effect","channel","source","uri"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["cloud-storage"]},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"uri":{"type":"string","description":"The cloud storage URI, e.g. `s3://bucket/path`."}}},{"type":"object","properties":{"cloudStorageAccess":{"type":"string","description":"The cloud storage access configuration: a Snowflake storage integration or Redshift IAM role. Omit for a Snowflake external-stage URI."},"gzip":{"type":"boolean","description":"Compress the exported file with gzip."},"prefixTimestamp":{"type":"boolean","description":"Prefix the exported file name with the current date and time."}}}],"description":"Export content to cloud storage through the data warehouse.","title":"Cloud storage export"}]},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a notification or exports workbook content.","title":"Notify and Export"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["refresh-element"]},"target":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The element to refresh. Refreshing a parent element also refreshes its child elements."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Refreshes a single element's data. Does not apply to materialized elements.","title":"Refresh Element"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["navigate"]},"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The page or element to navigate to."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Navigates to a page or element in this workbook.","title":"Navigate"},{"allOf":[{"type":"object","required":["effect","documentId","openTarget","documentType"],"properties":{"effect":{"type":"string","enum":["open-document"]},"documentId":{"type":"string","description":"The identifier of the workbook or report to open."},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the document opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."},"documentType":{"oneOf":[{"type":"string","enum":["workbook"]},{"type":"string","enum":["report"]}],"description":"The type of document to open."}}},{"type":"object","properties":{"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The identifier of a page or element to open inside the target document. Values are passed through as specified without validation."},"targetControls":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The set of controls in the target document and the values to set them to when the document is opened, as key-value pairs. Keys name inputs in the target document. Values must be specified from the current workbook."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens another workbook or report.","title":"Open Document"},{"allOf":[{"type":"object","required":["effect","tabbedContainerElementId","selectedTab"],"properties":{"effect":{"type":"string","enum":["select-tab"]},"tabbedContainerElementId":{"type":"string","description":"The tabbed container element to select a tab in."},"selectedTab":{"oneOf":[{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["direction"]},"direction":{"oneOf":[{"type":"string","enum":["next"]},{"type":"string","enum":["previous"]}]}},"description":"Selects a tab relative to the currently active tab.","title":"Direction"},{"type":"object","required":["type","index"],"properties":{"type":{"type":"string","enum":["tab"]},"index":{"type":"number","description":"The 0-based index into the tabbed container's tab order. The first tab is `0`."}},"description":"The 0-based index of the tab to display in the tabbed container. The first tab is `0`.","title":"Tab"}],"description":"The tab to select. Set `type` to `direction` with a `direction` (`next` or `previous`), or `tab` with a 0-based `index`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Selects a tab on a tabbed container.","title":"Select Tab"},{"allOf":[{"type":"object","required":["effect","elementId","sort"],"properties":{"effect":{"type":"string","enum":["custom-sort"]},"elementId":{"type":"string","description":"The element to sort."},"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation function for the sort. Only valid when `by` references a column ID (not \"row-count\")."},"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How null values sort. Omit, or use 'connection-default', for the connection's default null ordering."}}}]},{"type":"object","required":["type","columns"],"properties":{"type":{"type":"string","enum":["level"]},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How the sort order treats null values."}}}]},"description":"Ordered list of columns to sort by."}}}],"description":"The sort to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sorts a chart (or pivot table) by one of its columns, or a Table's rows by an ordered list of columns.","title":"Custom Sort"},{"allOf":[{"type":"object","required":["effect","elementId","modification"],"properties":{"effect":{"type":"string","enum":["modify-element"]},"elementId":{"type":"string","description":"The element to modify."},"modification":{"oneOf":[{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["move-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["base"]}},"title":"Base destination"}],"description":"Where to move the column."},"source":{"oneOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"title":"Column source"},{"allOf":[{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}},{"type":"object","properties":{"matchOrder":{"type":"boolean","description":"Order the moved column(s) to match the control's selected-value order. Requires a multi-select control."}}}]}],"description":"The column to move, or a control whose selected values determine which columns to move."}}},{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["swap-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"}],"description":"Where to move the column. The column already occupying this destination is moved to where `source` came from."},"source":{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"description":"The column to swap."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["show-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to show, or a control whose selected values determine which columns to show."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["hide-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to hide, or a control whose selected values determine which columns to hide."}}},{"allOf":[{"type":"object","required":["type","scale"],"properties":{"type":{"type":"string","enum":["set-axis-scale"]},"scale":{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."}},"description":"The scale to apply."}}},{"type":"object","properties":{"axis":{"oneOf":[{"type":"string","enum":["dimension"]},{"type":"string","enum":["value"]},{"type":"string","enum":["secondary-value"]}],"description":"Which axis to scale: the category/dimension axis, the primary measure axis (default), or the secondary measure axis (columns flagged onto it)."}}}]}],"description":"The modification to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Shows, hides, moves, or swaps columns, or sets an axis scale, on a chart, pivot table, or Table element.","title":"Modify Element"},{"allOf":[{"type":"object","required":["effect","codeElementId"],"properties":{"effect":{"type":"string","enum":["run-python-element"]},"codeElementId":{"type":"string","description":"The code element to run."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Runs a code element.","title":"Run Python Element"},{"allOf":[{"type":"object","required":["effect","pluginElementId","pluginEffectId"],"properties":{"effect":{"type":"string","enum":["trigger-plugin"]},"pluginElementId":{"type":"string","description":"The plugin element whose action effect to trigger."},"pluginEffectId":{"type":"string","description":"The action effect ID registered by the plugin."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Triggers an action effect within a plugin element.","title":"Trigger Plugin"},{"allOf":[{"type":"object","required":["effect","eventName","payload"],"properties":{"effect":{"type":"string","enum":["send-embed-event"]},"eventName":{"type":"string","description":"The event name included in the posted message."},"payload":{"type":"array","items":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","description":"The key for this value in the posted message payload."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The value to include."}}},"description":"Key-value pairs included in the posted message payload, in order."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a message to the embedding parent page.","title":"Send Embed Event"}]},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for this step."}}}],"description":"An action effect to run. Effects that depend on user interaction, such as a selected row or column, are not supported.","title":"Inline effect"}]},"description":"The steps the agent runs when it invokes this action tool."}}},{"type":"object","properties":{"requiresApproval":{"type":"boolean","description":"Whether the agent must pause to get user approval before running this tool. Defaults to `false`."}}}],"description":"","title":"Action"}]},"description":"The tools the agent can invoke to take action or enrich insights."}}}]},"description":"The agents defined in the workbook. Reference one from a chat element using `agentId`."}}},{"type":"object","properties":{"automatedActions":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["effects","id"],"properties":{"effects":{"type":"array","items":{"allOf":[{"type":"object","required":["agentId","effect","prompt"],"properties":{"agentId":{"type":"string","description":"The identifier of the Sigma agent to run in this workbook."},"effect":{"type":"string","enum":["call-agent"]},"prompt":{"type":"string","description":"The instructions passed to the agent when the action runs."}}},{"type":"object","properties":{"actionVariables":{"type":"array","items":{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the action variable for the agent to return the value from."},"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"Scalar data type of the action variable."}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the action variable."}}}]},"description":"The action variables populated from the agent response."}}}]},"description":"Ordered effects that run when the trigger fires."},"id":{"type":"string","description":"The stable identifier for this automated action sequence."}}},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for the automated action sequence."},"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the automated action sequence is turned on or off."}}},{"type":"object","required":["schedule","trigger"],"properties":{"schedule":{"type":"object","required":["cronSpec","timezone"],"properties":{"cronSpec":{"type":"string","description":"The cron expression that determines when the scheduled action runs. E.g., `0 9 * * 1` runs every Monday at 9:00 AM."},"timezone":{"type":"string","description":"The IANA timezone used to evaluate the cron expression."}},"description":"Recurring schedule configuration, including a cron expression and timezone."},"trigger":{"type":"string","enum":["schedule"],"description":"Runs the automated action sequence on a recurring schedule."}}}],"description":"","title":"Scheduled"},{"allOf":[{"type":"object","required":["effects","id"],"properties":{"effects":{"type":"array","items":{"allOf":[{"type":"object","required":["agentId","effect","prompt"],"properties":{"agentId":{"type":"string","description":"The identifier of the Sigma agent to run in this workbook."},"effect":{"type":"string","enum":["call-agent"]},"prompt":{"type":"string","description":"The instructions passed to the agent when the action runs."}}},{"type":"object","properties":{"actionVariables":{"type":"array","items":{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the action variable for the agent to return the value from."},"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"Scalar data type of the action variable."}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the action variable."}}}]},"description":"The action variables populated from the agent response."}}}]},"description":"Ordered effects that run when the trigger fires."},"id":{"type":"string","description":"The stable identifier for this automated action sequence."}}},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for the automated action sequence."},"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the automated action sequence is turned on or off."}}},{"type":"object","required":["trigger"],"properties":{"trigger":{"type":"string","enum":["webhook"],"description":"Runs the automated action sequence when its webhook URL receives a request."}}},{"type":"object","properties":{"variables":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string"},"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}]}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the webhook variable. Defaults to id."},"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether the webhook request may omit this variable."}}}],"description":"","title":"Scalar"},{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["variant"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the webhook variable. Defaults to id."},"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether the webhook request may omit this variable."}}}],"description":"","title":"Variant"},{"allOf":[{"type":"object","required":["elementType","id","type"],"properties":{"elementType":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}]}},"description":"","title":"Scalar"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["variant"]}},"description":"","title":"Variant"},{"type":"object","required":["fields","type"],"properties":{"fields":{"type":"array","items":{"allOf":[{"type":"object","required":["name","type"],"properties":{"name":{"type":"string","description":"Field name within the record."},"type":{"oneOf":[{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}]},{"type":"string","enum":["variant"]}],"description":"Scalar or variant type of the field value."}}},{"type":"object","properties":{"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether this field may be omitted from the payload."}}}]}},"type":{"type":"string","enum":["record"]}},"description":"","title":"Record"}]},"id":{"type":"string"},"type":{"type":"string","enum":["array"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the webhook variable. Defaults to id."},"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether the webhook request may omit this variable."}}}],"description":"","title":"Array"}]},"description":"Variables the webhook request body may (or must) provide, made available to the effects below."}}}],"description":"","title":"Webhook"}]},"description":"The action sequences that run automatically on a schedule or webhook trigger."}}}]},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["workbook"],"description":"Document kind. Always `workbook` for this resource."}}},{"type":"object","required":["layout"],"properties":{"layout":{"type":"string","description":"Grid and stack layout as XML.","title":"Layout XML"}}}],"description":"The code representation of the workbook: its pages, elements, columns, sources, layout, and theme. Submit this object as the `document` field of a create or update request to reproduce the workbook. Everything outside `document` is workbook metadata that Sigma maintains, and is ignored when you write.","title":"Workbook Document"}}},{"type":"object","properties":{"warnings":{"type":"array","items":{"type":"object","required":["summary"],"properties":{"summary":{"type":"string","description":"A human-readable description of a validation failure."}}},"description":"Non-fatal issues found while reading the workbook. Lists content that was dropped because it cannot be represented in code. The rest of the workbook can read and write without the dropped content. Absent or empty when there are no issues."}}}]},"CreateWorkbookSpec":{"allOf":[{"type":"object","required":["name","folderId","document"],"properties":{"name":{"type":"string","description":"The name of the workbook."},"folderId":{"type":"string","description":"The identifier of the folder in which the workbook is located."},"document":{"allOf":[{"allOf":[{"type":"object","required":["schemaVersion"],"properties":{"schemaVersion":{"type":"number","enum":[1],"description":"The schema version used by this representation of the workbook."}}},{"type":"object","properties":{"kind":{"type":"string","enum":["workbook"],"description":"The document kind. Ignored when creating or updating."}}},{"type":"object","required":["pages"],"properties":{"pages":{"type":"array","items":{"allOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"The identifier of the page in the workbook."},"name":{"type":"string","description":"The name of the page."}}},{"type":"object","required":[],"properties":{}},{"type":"object","properties":{"type":{"type":"string","enum":["page"],"description":"The page type, distinguishing a regular page from a `modal`, `drawer`, or `popover`. Only `page` can be set. If omitted, `page` is assumed."},"visibility":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["specific-users-and-teams"]},"assignments":{"type":"object","properties":{"users":{"type":"array","items":{"type":"string"},"description":"The identifiers of the users allowed to view this page."},"teams":{"type":"array","items":{"type":"string"},"description":"The identifiers of the teams allowed to view this page."}},"description":"The identifiers of the users and teams allowed to view this page."}}}],"description":"The visibility settings for the page. If omitted, the page is visible to all users. Specify `hidden` to hide the page, or define `{ kind: 'specific-users-and-teams', assignments: { users: [...], teams: [...] } }` to limit visibility to particular users and teams."}}},{"type":"object","properties":{"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}],"description":"The page background image. The URL supports dynamic `{{formula}}` text."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."},"pageWidth":{"oneOf":[{"type":"string","enum":["full"]},{"type":"string","enum":["large"]},{"type":"string","enum":["medium"]},{"type":"object","required":["mode","maxWidth"],"properties":{"mode":{"type":"string","enum":["custom"]},"maxWidth":{"type":"number","description":"The fixed page width in pixels, when `mode` is `custom`."}}}],"description":"The width of the page. One of `full`, `large`, `medium`, or `{ mode: 'custom', maxWidth }` for a fixed pixel width."}}}],"title":"Page"},"description":"The pages of the workbook."}}},{"type":"object","required":["elements"],"properties":{"elements":{"type":"array","items":{"$ref":"#/components/schemas/WorkbookElement"},"description":"The elements in this workbook and their definitions."}}},{"type":"object","properties":{"overlays":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","type","name"],"properties":{"id":{"type":"string","description":"The identifier of the modal page."},"type":{"type":"string","enum":["modal"],"description":"Marks this page as a modal."},"name":{"type":"string","description":"The name of the modal."}}},{"type":"object","properties":{"modal":{"allOf":[{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["x-small"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]},{"type":"string","enum":["x-large"]}],"description":"The overlay width."},"header":{"type":"object","properties":{"title":{"type":"string","description":"The header title. Supports dynamic `{{formula}}` text."},"showTitle":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the title."},"showCloseIcon":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the close button."}},"description":"The header configuration, including title text and close-icon visibility."}}},{"type":"object","properties":{"footer":{"type":"object","properties":{"primaryCta":{"type":"object","properties":{"visible":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the button is shown."},"text":{"type":"string","description":"The button label. Supports dynamic `{{formula}}` text."}},"description":"The primary footer button."},"secondaryCta":{"type":"object","properties":{"visible":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the button is shown."},"text":{"type":"string","description":"The button label. Supports dynamic `{{formula}}` text."}},"description":"The secondary footer button."}},"description":"The footer with primary and secondary buttons."}}}],"description":"The modal presentation options, including width, header, and footer buttons."},"singleRowContainer":{"allOf":[{"type":"object","required":["source","keyColumnId"],"properties":{"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source that supplies the displayed row."},"keyColumnId":{"type":"string","description":"The ID of the source column that identifies which row is displayed. Must be a column declared on the source."}}},{"type":"object","properties":{"keyColumnValue":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The key-column value of the row to display. Must match the key column type. Omit to pin no row."}}}],"description":"Pins the modal to one row of a source: the elements inside it show that row. Omit for an ordinary modal."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions on the modal. Each action's `trigger` must be one of `on-primary-cta-click`, `on-secondary-cta-click`, or `on-close`."},"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}],"description":"The background image for the modal. The URL supports dynamic `{{formula}}` text."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."}}}],"title":"Modal"},{"allOf":[{"type":"object","required":["id","type","name"],"properties":{"id":{"type":"string","description":"The identifier of the drawer page."},"type":{"type":"string","enum":["drawer"],"description":"Marks this page as a drawer."},"name":{"type":"string","description":"The name of the drawer."}}},{"type":"object","properties":{"drawer":{"allOf":[{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["x-small"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]},{"type":"string","enum":["x-large"]}],"description":"The overlay width."},"header":{"type":"object","properties":{"title":{"type":"string","description":"The header title. Supports dynamic `{{formula}}` text."},"showTitle":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the title."},"showCloseIcon":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the close button."}},"description":"The header configuration, including title text and close-icon visibility."}}},{"type":"object","properties":{"showShadow":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether to display the drawer as a page overlay, dimming the page behind it when open. Either `shown` to dim the background page or `hidden` for none."}}}],"description":"The presentation of the drawer, including width, header, and page overlay."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by the drawer, on close."},"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}],"description":"Background image for the drawer. The URL supports dynamic `{{formula}}` text."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."}}}],"title":"Drawer"},{"allOf":[{"type":"object","required":["id","type","name","popover"],"properties":{"id":{"type":"string","description":"The identifier of the popover page."},"type":{"type":"string","enum":["popover"],"description":"Marks this page as a popover."},"name":{"type":"string","description":"The name of the popover."},"popover":{"allOf":[{"type":"object","required":["triggerElementId"],"properties":{"triggerElementId":{"type":"string","description":"The identifier of the button that triggers the popover."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["x-small"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]},{"type":"string","enum":["x-large"]}],"description":"Popover width breakpoint: x-small, small, medium, large, or x-large."},"spacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The element spacing preset."},"padding":{"type":"string","enum":["none"],"description":"Set to 'none' to remove padding from the popover."},"elementGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Gap between popover elements: 'shown' (default) or 'hidden'."}}}],"description":"Popover presentation: trigger button, width, spacing, padding, and element gap."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions fired by the popover when it closes."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."}}}],"title":"Popover"}]},"description":"The modals, drawers, and popovers in this workbook and their contents."}}},{"type":"object","properties":{"panels":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the page header."},"type":{"type":"string","enum":["header"],"description":"Identifies this panel as a page header."}}},{"type":"object","properties":{"title":{"type":"string","description":"The display name of the header."},"pages":{"type":"array","items":{"type":"string"},"description":"Ids of the pages this panel is applied to. A page may have at most one header and one sidebar, and only normal pages can carry panels (not modals or drawers). Omit when the panel is defined but unassigned."},"config":{"type":"object","properties":{"scroll":{"oneOf":[{"type":"string","enum":["sticky"]},{"type":"string","enum":["none"]}],"description":"How the panel behaves as the page scrolls. 'sticky' pins it in place; 'none' lets it scroll away. Defaults to 'sticky'."},"borderStyle":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["shadow"]},{"type":"string","enum":["none"]}],"description":"The border drawn below the header. One of `line`, `shadow`, or `none`. `shadow` applies only when `scroll` is `sticky`."},"backgroundColor":{"type":"string","description":"Panel background color. Omit to follow the theme."}},"description":"The header presentation, including scroll behavior, border, background, and height."}}}],"title":"PageHeader"},{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the page sidebar."},"type":{"type":"string","enum":["sidebar"],"description":"Identifies this panel as a page sidebar."}}},{"type":"object","properties":{"title":{"type":"string","description":"The display name of the sidebar."},"pages":{"type":"array","items":{"type":"string"},"description":"Ids of the pages this panel is applied to. A page may have at most one header and one sidebar, and only normal pages can carry panels (not modals or drawers). Omit when the panel is defined but unassigned."},"width":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"Sidebar width preset. One of `small` (200px), `medium` (260px), or `large` (400px). Defaults to `medium`."},"config":{"type":"object","properties":{"scroll":{"oneOf":[{"type":"string","enum":["sticky"]},{"type":"string","enum":["none"]}],"description":"How the panel behaves as the page scrolls. 'sticky' pins it in place; 'none' lets it scroll away. Defaults to 'sticky'."},"borderStyle":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["none"]}],"description":"The border style for the sidebar."},"backgroundColor":{"type":"string","description":"Panel background color. Omit to follow the theme."}},"description":"The sidebar presentation, including scroll behavior, border, and background color."}}}],"title":"PageSidebar"}]},"description":"The definitions of page headers and sidebars in this document."}}},{"type":"object","properties":{"settings":{"type":"object","properties":{"theme":{"type":"object","properties":{"name":{"oneOf":[{"oneOf":[{"type":"string","enum":["Light"]},{"type":"string","enum":["Dark"]},{"type":"string","enum":["Surface"]}]},{"type":"string"}],"description":"The name of a built-in theme (`Light`, `Dark`, or `Surface`) or the UUID of an organization theme. Omit to use the organization default theme, or `Light` when the organization has no default."},"overrides":{"type":"object","properties":{"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"categoricalScheme":{"oneOf":[{"type":"string","description":"Named categorical palette.","title":"Named palette"},{"type":"array","items":{"type":"string"},"description":"Custom hex color list.","title":"Custom palette"}],"description":"The categorical color palette, as a palette name or custom hex array. Defaults to `superbloom`."},"colorOverrides":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","description":"ColorTheme slot name (matches the theme color inspector, e.g. baseCanvasSurface)."},"color":{"type":"string"}}},"description":"Overrides for particular layout theme colors as hex codes. Keys match the theme color inspector (e.g. baseCanvasSurface, elementBackground)."},"colors":{"type":"object","properties":{"text":{"type":"string","description":"The primary text color, as a hex code."},"highlight":{"type":"string","description":"The highlight or accent color, as a hex code. Maps to the theme's `$primary` color."},"surface":{"type":"string","description":"The surface color, as a hex code."},"success":{"type":"string","description":"The success color, as a hex code."},"warning":{"type":"string","description":"The warning color, as a hex code."},"danger":{"type":"string","description":"The danger color, as a hex code."},"darkMode":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether dark color mode is on. Defaults to `hidden`."}}},"divergingScheme":{"type":"string","description":"The named diverging color scheme. Defaults to `blueorange`."},"elementBorder":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"width":{"type":"number","description":"Element border width in pixels (0–3)."}}},"fonts":{"type":"object","properties":{"dataFont":{"type":"string","description":"The font family for workbook data. Defaults to `Roboto`."},"textFont":{"type":"string","description":"The font family for non-data text, like element titles, descriptions, and table headers."}}},"hasCards":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether elements are framed as cards (with a border, background, and padding). Defaults to `shown`."},"invertTooltipColors":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether to invert text and background colors in visualization tooltips. Defaults to `shown`."},"layoutColors":{"type":"object","properties":{"useElementForeground":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether elements render above the canvas."}}},"maxPageWidth":{"type":"number","description":"Max page width in pixels when pageWidth is custom (minimum 600)."},"pageWidth":{"oneOf":[{"type":"string","enum":["full"]},{"type":"string","enum":["large"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["custom"]}],"description":"The page content width."},"sequentialScheme":{"type":"string","description":"The named sequential color scheme. Defaults to `blues`."},"space":{"type":"object","properties":{"showElementPadding":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether padding around elements is shown. Defaults to `shown`."},"unit":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The element spacing preset."}}},"tableStyles":{"$ref":"#/components/schemas/TableStyle"},"titleFont":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Title font size in pixels (6–96)."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}]}}}},"description":"Customizations applied on top of the base theme selected by `name`, or the document's default theme when `name` is omitted."}},"description":"The document theme. Either the name of a theme in the organization or a built-in theme. Optionally, applies per-field overrides to the theme for colors and fonts.","title":"Theme"},"navigation":{"type":"object","properties":{"pageHeader":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether page headers are enabled in the workbook. Defaults to `disabled`. A page also needs a header panel assigned before one renders."},"pageSidebar":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether page sidebars are enabled in the workbook. Defaults to `disabled`. A page also needs a sidebar panel assigned before one renders."},"primary":{"oneOf":[{"type":"string","enum":["sidebar"]},{"type":"string","enum":["header"]}],"description":"Which panel overlays the other when a page has both a header and a sidebar. If panels have different scroll styles, the fixed panel overlays the scrolling panel. Defaults to `sidebar`."},"pageTabsInViewMode":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether viewers see the page tab bar. Defaults to `shown`."}},"description":"The workbook navigation settings for page headers, page sidebars, and page tabs. Omitting it drops any previously stored navigation settings."}},"description":"The document-level settings. Accepts `theme`, and `navigation` on a workbook. A report accepts `theme` alone.","title":"Document Settings"}}},{"type":"object","properties":{"agents":{"type":"array","items":{"allOf":[{"type":"object","required":["id","instructions"],"properties":{"id":{"type":"string","description":"The identifier of the agent."},"instructions":{"type":"string","description":"Instructions that guide the agent. Use `{{formula}}` for dynamic values, `@dataSource(\"elementId\")` for configured data sources, and `@tool(\"toolId\")` for configured tools."}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the agent."},"description":{"type":"string","description":"The description of the agent."},"greeting":{"oneOf":[{"type":"object","required":["mode","message"],"properties":{"mode":{"type":"string","enum":["static"]},"message":{"type":"string","description":"The first message an agent displays when the chat opens. Not generated by the AI provider. Supports dynamic `{{formula}}` text."}},"description":"","title":"Fixed greeting"},{"type":"object","required":["mode","prompt"],"properties":{"mode":{"type":"string","enum":["generated"]},"prompt":{"type":"string","description":"The prompt the agent uses to generate the first message displayed when the chat opens. Supports dynamic `{{formula}}` text."}},"description":"","title":"Generated greeting"}],"description":"The greeting message for the agent. Set `mode` to `static` with a `message`, or `generated` with a `prompt`. Omit for the product default."},"dataSources":{"type":"array","items":{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of a workbook element, such as a table or chart, the agent can read from."}},"description":"","title":"Workbook element"},"description":"The data elements or data model tables the agent can access."},"tools":{"type":"array","items":{"oneOf":[{"type":"object","required":["toolId","kind","connectorId","name"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["mcp-connector"]},"connectorId":{"type":"string","description":"The UUID of the MCP connector."},"name":{"type":"string","description":"The display name of the MCP connector."}},"description":"","title":"MCP connector"},{"allOf":[{"type":"object","required":["toolId","kind"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["warehouse-agent"]}}},{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","properties":{"description":{"type":"string","description":"A description of when the agent should invoke this warehouse agent."}}}],"description":"","title":"Warehouse agent"},{"allOf":[{"type":"object","required":["toolId","kind","description"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["search-service"]},"description":{"type":"string","description":"A description of what this search service can retrieve, used by the agent to decide when to call it."}}},{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}}],"description":"","title":"Search service"},{"allOf":[{"type":"object","required":["toolId","kind","name","description","steps"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["action"]},"name":{"type":"string","description":"The display name of the action tool."},"description":{"type":"string","description":"A description of what this tool does and when the agent should invoke it."},"steps":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["kind","sequenceId"],"properties":{"kind":{"type":"string","enum":["sequence"]},"sequenceId":{"type":"string","description":"The identifier of an action sequence in the workbook."}}},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for this step."}}}],"description":"","title":"Sequence reference"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["effect"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["effect","connectorId"],"properties":{"effect":{"type":"string","enum":["call-api"]},"connectorId":{"type":"string","description":"The ID of the API connector to call."}}},{"type":"object","properties":{"arguments":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Values to send to the API connector, keyed by parameter name."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls an API connector with configured values.","title":"Call API"},{"allOf":[{"type":"object","required":["effect","openTarget"],"properties":{"effect":{"type":"string","enum":["open-url"]},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the URL opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."}}},{"type":"object","properties":{"url":{"type":"string","description":"The URL to open. Supports dynamic `{{formula}}` text."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a URL in the same tab, a new tab, or the parent frame.","title":"Open URL"},{"allOf":[{"type":"object","required":["effect","overlayId"],"properties":{"effect":{"type":"string","enum":["open-overlay"]},"overlayId":{"type":"string","description":"The identifier of the modal or drawer to open."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a modal.","title":"Open Overlay"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["close-overlay"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Closes the currently open modal.","title":"Close Overlay"},{"allOf":[{"type":"object","required":["effect","control","value"],"properties":{"effect":{"type":"string","enum":["set-control-value"]},"control":{"type":"string","description":"The control ID of the control to update with a new value."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"description":"The value to set on the control."}}},{"type":"object","properties":{"selectionMode":{"oneOf":[{"type":"string","enum":["replace"]},{"type":"string","enum":["add"]},{"type":"string","enum":["remove"]}],"description":"How the value combines with the current selection. Defaults to `replace`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets a control's value, optionally combining with the current selection.","title":"Set Control Value"},{"allOf":[{"type":"object","required":["effect","scope"],"properties":{"effect":{"type":"string","enum":["clear-control"]},"scope":{"oneOf":[{"type":"object","required":["type","controlId"],"properties":{"type":{"type":"string","enum":["control"]},"controlId":{"type":"string"}},"description":"Clear a single control by its control ID.","title":"Control"},{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Clear every control in a container by the container element ID.","title":"Container"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["page"]}}},{"type":"object","properties":{"pageId":{"type":"string"}}}],"description":"Clear every control on a page by page ID, or the current page when omitted.","title":"Page"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"Clear every control in the workbook.","title":"Workbook"}],"description":"The scope of controls to clear. One of a specific `control`, all controls in a `container` or `page`, or the entire `workbook`."}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears one or more controls to empty or their published value.","title":"Clear Control"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["reset-form"]}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Resets all fields in the host form to empty or published values.","title":"Reset Form"},{"allOf":[{"type":"object","required":["effect","formElementId","values"],"properties":{"effect":{"type":"string","enum":["set-form-values"]},"formElementId":{"type":"string","description":"The element id of the target form to set."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Form fieldId -> the value to write into that field on the target form."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets one or more values on a target form.","title":"Set Form Values"},{"allOf":[{"type":"object","required":["effect","target","value"],"properties":{"effect":{"type":"string","enum":["set-single-row-container"]},"target":{"oneOf":[{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Set a single-row container element by its container element ID.","title":"Container"},{"type":"object","required":["type","modalId"],"properties":{"type":{"type":"string","enum":["modal"]},"modalId":{"type":"string"}},"description":"Set the single-row container displayed in a modal, by the modal page ID.","title":"Modal"}],"description":"The single-row container to set."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The key-column value of the row to display."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets the row a single-row container displays.","title":"Set Single Row Container"},{"allOf":[{"type":"object","required":["effect","chatElementId"],"properties":{"effect":{"type":"string","enum":["clear-chat-element-messages"]},"chatElementId":{"type":"string","description":"The chat element whose message history to clear."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears a chat element's message history.","title":"Clear Chat Element Messages"},{"allOf":[{"type":"object","required":["effect","storedProcedure"],"properties":{"effect":{"type":"string","enum":["call-stored-procedure"]},"storedProcedure":{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","properties":{"signature":{"type":"string","description":"Stored procedure signature to run, using the display text shown in the workbook action editor."}}}],"description":"Stored procedure to run, identified by its connection and warehouse path."}}},{"type":"object","properties":{"arguments":{"type":"array","items":{"type":"object","required":["parameterIndex","type","value"],"properties":{"parameterIndex":{"type":"number","description":"Identifies which stored procedure input this argument supplies, using 0 for the first parameter."},"type":{"type":"string","enum":["boolean","datetime","number","integer","text"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}}},"description":"Values to pass to stored procedure inputs. Omitted inputs will be filled with default values for their parameter type."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls a stored procedure.","title":"Call Stored Procedure"},{"allOf":[{"type":"object","required":["effect","tableElementId","values"],"properties":{"effect":{"type":"string","enum":["insert-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table. Cannot be a linked input table."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The identifier of the column in the target table to write to and the value to write. Omitted columns keep the table's default."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Inserts a row into a target input table.","title":"Insert Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows","values"],"properties":{"effect":{"type":"string","enum":["update-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table element. Can reference a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to update in the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The values to write into matched rows, specified by column ID."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Updates matched rows in a target input table.","title":"Update Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows"],"properties":{"effect":{"type":"string","enum":["delete-rows"]},"tableElementId":{"type":"string","description":"The input table to delete rows from. Cannot be a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to delete from the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Deletes matched rows from a target input table.","title":"Delete Rows"},{"allOf":[{"oneOf":[{"allOf":[{"type":"object","required":["effect","channel","recipients","subject","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["email"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"subject":{"type":"string","description":"The email subject. Supports dynamic-text {{formula}} values."},"messageBody":{"type":"string","description":"The email body. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}},{"type":"object","properties":{"ccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients copied on the email."},"bccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients blind-copied on the email."},"runAsRecipient":{"type":"boolean","description":"Render the export using each recipient's own permissions. Defaults to false."},"zipAttachments":{"type":"boolean","description":"Compress the attachments into a single zip file. Defaults to false."}}}],"description":"Send a notification by email.","title":"Email notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["slack"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Slack message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Slack.","title":"Slack notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["ms-teams"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Microsoft Teams message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Microsoft Teams.","title":"Microsoft Teams notification"},{"allOf":[{"type":"object","required":["effect","channel","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["download"]},"source":{"oneOf":[{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},{"type":"object","required":["type","documentId"],"properties":{"type":{"type":"string","enum":["external-report"]},"documentId":{"type":"string"}},"description":"An external report.","title":"External Report"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Comma-separated values.","title":"CSV"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"includeMetadata":{"type":"boolean"},"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Microsoft Excel workbook.","title":"Excel"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}},"description":"JSON data.","title":"JSON"},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}},"description":"PDF document.","title":"PDF"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}},"description":"PNG image.","title":"PNG"}]}}},{"type":"object","properties":{"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Export content for browser download.","title":"Browser download"},{"type":"object","required":["effect","channel","endpoints","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["webhook"]},"endpoints":{"type":"array","items":{"type":"string"},"description":"The webhook endpoints that receive the export."},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}}]}},"description":"Send exported content to a webhook.","title":"Webhook export"},{"type":"object","required":["effect","channel","folderUrl","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["sharepoint"]},"folderUrl":{"type":"string","description":"The SharePoint folder URL that receives the export."},"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]}},"description":"Send exported content to SharePoint.","title":"SharePoint export"},{"allOf":[{"type":"object","required":["effect","channel","source","uri"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["cloud-storage"]},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"uri":{"type":"string","description":"The cloud storage URI, e.g. `s3://bucket/path`."}}},{"type":"object","properties":{"cloudStorageAccess":{"type":"string","description":"The cloud storage access configuration: a Snowflake storage integration or Redshift IAM role. Omit for a Snowflake external-stage URI."},"gzip":{"type":"boolean","description":"Compress the exported file with gzip."},"prefixTimestamp":{"type":"boolean","description":"Prefix the exported file name with the current date and time."}}}],"description":"Export content to cloud storage through the data warehouse.","title":"Cloud storage export"}]},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a notification or exports workbook content.","title":"Notify and Export"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["refresh-element"]},"target":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The element to refresh. Refreshing a parent element also refreshes its child elements."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Refreshes a single element's data. Does not apply to materialized elements.","title":"Refresh Element"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["navigate"]},"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The page or element to navigate to."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Navigates to a page or element in this workbook.","title":"Navigate"},{"allOf":[{"type":"object","required":["effect","documentId","openTarget","documentType"],"properties":{"effect":{"type":"string","enum":["open-document"]},"documentId":{"type":"string","description":"The identifier of the workbook or report to open."},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the document opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."},"documentType":{"oneOf":[{"type":"string","enum":["workbook"]},{"type":"string","enum":["report"]}],"description":"The type of document to open."}}},{"type":"object","properties":{"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The identifier of a page or element to open inside the target document. Values are passed through as specified without validation."},"targetControls":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The set of controls in the target document and the values to set them to when the document is opened, as key-value pairs. Keys name inputs in the target document. Values must be specified from the current workbook."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens another workbook or report.","title":"Open Document"},{"allOf":[{"type":"object","required":["effect","tabbedContainerElementId","selectedTab"],"properties":{"effect":{"type":"string","enum":["select-tab"]},"tabbedContainerElementId":{"type":"string","description":"The tabbed container element to select a tab in."},"selectedTab":{"oneOf":[{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["direction"]},"direction":{"oneOf":[{"type":"string","enum":["next"]},{"type":"string","enum":["previous"]}]}},"description":"Selects a tab relative to the currently active tab.","title":"Direction"},{"type":"object","required":["type","index"],"properties":{"type":{"type":"string","enum":["tab"]},"index":{"type":"number","description":"The 0-based index into the tabbed container's tab order. The first tab is `0`."}},"description":"The 0-based index of the tab to display in the tabbed container. The first tab is `0`.","title":"Tab"}],"description":"The tab to select. Set `type` to `direction` with a `direction` (`next` or `previous`), or `tab` with a 0-based `index`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Selects a tab on a tabbed container.","title":"Select Tab"},{"allOf":[{"type":"object","required":["effect","elementId","sort"],"properties":{"effect":{"type":"string","enum":["custom-sort"]},"elementId":{"type":"string","description":"The element to sort."},"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation function for the sort. Only valid when `by` references a column ID (not \"row-count\")."},"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How null values sort. Omit, or use 'connection-default', for the connection's default null ordering."}}}]},{"type":"object","required":["type","columns"],"properties":{"type":{"type":"string","enum":["level"]},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How the sort order treats null values."}}}]},"description":"Ordered list of columns to sort by."}}}],"description":"The sort to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sorts a chart (or pivot table) by one of its columns, or a Table's rows by an ordered list of columns.","title":"Custom Sort"},{"allOf":[{"type":"object","required":["effect","elementId","modification"],"properties":{"effect":{"type":"string","enum":["modify-element"]},"elementId":{"type":"string","description":"The element to modify."},"modification":{"oneOf":[{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["move-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["base"]}},"title":"Base destination"}],"description":"Where to move the column."},"source":{"oneOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"title":"Column source"},{"allOf":[{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}},{"type":"object","properties":{"matchOrder":{"type":"boolean","description":"Order the moved column(s) to match the control's selected-value order. Requires a multi-select control."}}}]}],"description":"The column to move, or a control whose selected values determine which columns to move."}}},{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["swap-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"}],"description":"Where to move the column. The column already occupying this destination is moved to where `source` came from."},"source":{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"description":"The column to swap."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["show-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to show, or a control whose selected values determine which columns to show."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["hide-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to hide, or a control whose selected values determine which columns to hide."}}},{"allOf":[{"type":"object","required":["type","scale"],"properties":{"type":{"type":"string","enum":["set-axis-scale"]},"scale":{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."}},"description":"The scale to apply."}}},{"type":"object","properties":{"axis":{"oneOf":[{"type":"string","enum":["dimension"]},{"type":"string","enum":["value"]},{"type":"string","enum":["secondary-value"]}],"description":"Which axis to scale: the category/dimension axis, the primary measure axis (default), or the secondary measure axis (columns flagged onto it)."}}}]}],"description":"The modification to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Shows, hides, moves, or swaps columns, or sets an axis scale, on a chart, pivot table, or Table element.","title":"Modify Element"},{"allOf":[{"type":"object","required":["effect","codeElementId"],"properties":{"effect":{"type":"string","enum":["run-python-element"]},"codeElementId":{"type":"string","description":"The code element to run."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Runs a code element.","title":"Run Python Element"},{"allOf":[{"type":"object","required":["effect","pluginElementId","pluginEffectId"],"properties":{"effect":{"type":"string","enum":["trigger-plugin"]},"pluginElementId":{"type":"string","description":"The plugin element whose action effect to trigger."},"pluginEffectId":{"type":"string","description":"The action effect ID registered by the plugin."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Triggers an action effect within a plugin element.","title":"Trigger Plugin"},{"allOf":[{"type":"object","required":["effect","eventName","payload"],"properties":{"effect":{"type":"string","enum":["send-embed-event"]},"eventName":{"type":"string","description":"The event name included in the posted message."},"payload":{"type":"array","items":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","description":"The key for this value in the posted message payload."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The value to include."}}},"description":"Key-value pairs included in the posted message payload, in order."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a message to the embedding parent page.","title":"Send Embed Event"}]},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for this step."}}}],"description":"An action effect to run. Effects that depend on user interaction, such as a selected row or column, are not supported.","title":"Inline effect"}]},"description":"The steps the agent runs when it invokes this action tool."}}},{"type":"object","properties":{"requiresApproval":{"type":"boolean","description":"Whether the agent must pause to get user approval before running this tool. Defaults to `false`."}}}],"description":"","title":"Action"}]},"description":"The tools the agent can invoke to take action or enrich insights."}}}]},"description":"The agents defined in the workbook. Reference one from a chat element using `agentId`."}}},{"type":"object","properties":{"automatedActions":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["effects","id"],"properties":{"effects":{"type":"array","items":{"allOf":[{"type":"object","required":["agentId","effect","prompt"],"properties":{"agentId":{"type":"string","description":"The identifier of the Sigma agent to run in this workbook."},"effect":{"type":"string","enum":["call-agent"]},"prompt":{"type":"string","description":"The instructions passed to the agent when the action runs."}}},{"type":"object","properties":{"actionVariables":{"type":"array","items":{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the action variable for the agent to return the value from."},"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"Scalar data type of the action variable."}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the action variable."}}}]},"description":"The action variables populated from the agent response."}}}]},"description":"Ordered effects that run when the trigger fires."},"id":{"type":"string","description":"The stable identifier for this automated action sequence."}}},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for the automated action sequence."},"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the automated action sequence is turned on or off."}}},{"type":"object","required":["schedule","trigger"],"properties":{"schedule":{"type":"object","required":["cronSpec","timezone"],"properties":{"cronSpec":{"type":"string","description":"The cron expression that determines when the scheduled action runs. E.g., `0 9 * * 1` runs every Monday at 9:00 AM."},"timezone":{"type":"string","description":"The IANA timezone used to evaluate the cron expression."}},"description":"Recurring schedule configuration, including a cron expression and timezone."},"trigger":{"type":"string","enum":["schedule"],"description":"Runs the automated action sequence on a recurring schedule."}}}],"description":"","title":"Scheduled"},{"allOf":[{"type":"object","required":["effects","id"],"properties":{"effects":{"type":"array","items":{"allOf":[{"type":"object","required":["agentId","effect","prompt"],"properties":{"agentId":{"type":"string","description":"The identifier of the Sigma agent to run in this workbook."},"effect":{"type":"string","enum":["call-agent"]},"prompt":{"type":"string","description":"The instructions passed to the agent when the action runs."}}},{"type":"object","properties":{"actionVariables":{"type":"array","items":{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the action variable for the agent to return the value from."},"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"Scalar data type of the action variable."}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the action variable."}}}]},"description":"The action variables populated from the agent response."}}}]},"description":"Ordered effects that run when the trigger fires."},"id":{"type":"string","description":"The stable identifier for this automated action sequence."}}},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for the automated action sequence."},"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the automated action sequence is turned on or off."}}},{"type":"object","required":["trigger"],"properties":{"trigger":{"type":"string","enum":["webhook"],"description":"Runs the automated action sequence when its webhook URL receives a request."}}},{"type":"object","properties":{"variables":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string"},"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}]}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the webhook variable. Defaults to id."},"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether the webhook request may omit this variable."}}}],"description":"","title":"Scalar"},{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["variant"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the webhook variable. Defaults to id."},"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether the webhook request may omit this variable."}}}],"description":"","title":"Variant"},{"allOf":[{"type":"object","required":["elementType","id","type"],"properties":{"elementType":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}]}},"description":"","title":"Scalar"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["variant"]}},"description":"","title":"Variant"},{"type":"object","required":["fields","type"],"properties":{"fields":{"type":"array","items":{"allOf":[{"type":"object","required":["name","type"],"properties":{"name":{"type":"string","description":"Field name within the record."},"type":{"oneOf":[{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}]},{"type":"string","enum":["variant"]}],"description":"Scalar or variant type of the field value."}}},{"type":"object","properties":{"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether this field may be omitted from the payload."}}}]}},"type":{"type":"string","enum":["record"]}},"description":"","title":"Record"}]},"id":{"type":"string"},"type":{"type":"string","enum":["array"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the webhook variable. Defaults to id."},"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether the webhook request may omit this variable."}}}],"description":"","title":"Array"}]},"description":"Variables the webhook request body may (or must) provide, made available to the effects below."}}}],"description":"","title":"Webhook"}]},"description":"The action sequences that run automatically on a schedule or webhook trigger."}}}]},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["workbook"],"description":"Document kind. Always `workbook` for this resource."}}},{"type":"object","required":["layout"],"properties":{"layout":{"type":"string","description":"Grid and stack layout as XML.","title":"Layout XML"}}}],"description":"The code representation of the workbook to write: its pages, elements, columns, sources, layout, and theme.","title":"Workbook Document"}}},{"type":"object","properties":{"description":{"type":"string","description":"The description of the workbook."}}}]},"UpdateWorkbookSpec":{"allOf":[{"type":"object","required":["document"],"properties":{"document":{"allOf":[{"allOf":[{"type":"object","required":["schemaVersion"],"properties":{"schemaVersion":{"type":"number","enum":[1],"description":"The schema version used by this representation of the workbook."}}},{"type":"object","properties":{"kind":{"type":"string","enum":["workbook"],"description":"The document kind. Ignored when creating or updating."}}},{"type":"object","required":["pages"],"properties":{"pages":{"type":"array","items":{"allOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"The identifier of the page in the workbook."},"name":{"type":"string","description":"The name of the page."}}},{"type":"object","required":[],"properties":{}},{"type":"object","properties":{"type":{"type":"string","enum":["page"],"description":"The page type, distinguishing a regular page from a `modal`, `drawer`, or `popover`. Only `page` can be set. If omitted, `page` is assumed."},"visibility":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["specific-users-and-teams"]},"assignments":{"type":"object","properties":{"users":{"type":"array","items":{"type":"string"},"description":"The identifiers of the users allowed to view this page."},"teams":{"type":"array","items":{"type":"string"},"description":"The identifiers of the teams allowed to view this page."}},"description":"The identifiers of the users and teams allowed to view this page."}}}],"description":"The visibility settings for the page. If omitted, the page is visible to all users. Specify `hidden` to hide the page, or define `{ kind: 'specific-users-and-teams', assignments: { users: [...], teams: [...] } }` to limit visibility to particular users and teams."}}},{"type":"object","properties":{"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}],"description":"The page background image. The URL supports dynamic `{{formula}}` text."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."},"pageWidth":{"oneOf":[{"type":"string","enum":["full"]},{"type":"string","enum":["large"]},{"type":"string","enum":["medium"]},{"type":"object","required":["mode","maxWidth"],"properties":{"mode":{"type":"string","enum":["custom"]},"maxWidth":{"type":"number","description":"The fixed page width in pixels, when `mode` is `custom`."}}}],"description":"The width of the page. One of `full`, `large`, `medium`, or `{ mode: 'custom', maxWidth }` for a fixed pixel width."}}}],"title":"Page"},"description":"The pages of the workbook."}}},{"type":"object","required":["elements"],"properties":{"elements":{"type":"array","items":{"$ref":"#/components/schemas/WorkbookElement"},"description":"The elements in this workbook and their definitions."}}},{"type":"object","properties":{"overlays":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","type","name"],"properties":{"id":{"type":"string","description":"The identifier of the modal page."},"type":{"type":"string","enum":["modal"],"description":"Marks this page as a modal."},"name":{"type":"string","description":"The name of the modal."}}},{"type":"object","properties":{"modal":{"allOf":[{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["x-small"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]},{"type":"string","enum":["x-large"]}],"description":"The overlay width."},"header":{"type":"object","properties":{"title":{"type":"string","description":"The header title. Supports dynamic `{{formula}}` text."},"showTitle":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the title."},"showCloseIcon":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the close button."}},"description":"The header configuration, including title text and close-icon visibility."}}},{"type":"object","properties":{"footer":{"type":"object","properties":{"primaryCta":{"type":"object","properties":{"visible":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the button is shown."},"text":{"type":"string","description":"The button label. Supports dynamic `{{formula}}` text."}},"description":"The primary footer button."},"secondaryCta":{"type":"object","properties":{"visible":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the button is shown."},"text":{"type":"string","description":"The button label. Supports dynamic `{{formula}}` text."}},"description":"The secondary footer button."}},"description":"The footer with primary and secondary buttons."}}}],"description":"The modal presentation options, including width, header, and footer buttons."},"singleRowContainer":{"allOf":[{"type":"object","required":["source","keyColumnId"],"properties":{"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source that supplies the displayed row."},"keyColumnId":{"type":"string","description":"The ID of the source column that identifies which row is displayed. Must be a column declared on the source."}}},{"type":"object","properties":{"keyColumnValue":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The key-column value of the row to display. Must match the key column type. Omit to pin no row."}}}],"description":"Pins the modal to one row of a source: the elements inside it show that row. Omit for an ordinary modal."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions on the modal. Each action's `trigger` must be one of `on-primary-cta-click`, `on-secondary-cta-click`, or `on-close`."},"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}],"description":"The background image for the modal. The URL supports dynamic `{{formula}}` text."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."}}}],"title":"Modal"},{"allOf":[{"type":"object","required":["id","type","name"],"properties":{"id":{"type":"string","description":"The identifier of the drawer page."},"type":{"type":"string","enum":["drawer"],"description":"Marks this page as a drawer."},"name":{"type":"string","description":"The name of the drawer."}}},{"type":"object","properties":{"drawer":{"allOf":[{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["x-small"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]},{"type":"string","enum":["x-large"]}],"description":"The overlay width."},"header":{"type":"object","properties":{"title":{"type":"string","description":"The header title. Supports dynamic `{{formula}}` text."},"showTitle":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the title."},"showCloseIcon":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the header shows the close button."}},"description":"The header configuration, including title text and close-icon visibility."}}},{"type":"object","properties":{"showShadow":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether to display the drawer as a page overlay, dimming the page behind it when open. Either `shown` to dim the background page or `hidden` for none."}}}],"description":"The presentation of the drawer, including width, header, and page overlay."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by the drawer, on close."},"backgroundImage":{"allOf":[{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}},"description":"The image sizing and alignment within the element."}}}],"description":"Background image for the drawer. The URL supports dynamic `{{formula}}` text."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."}}}],"title":"Drawer"},{"allOf":[{"type":"object","required":["id","type","name","popover"],"properties":{"id":{"type":"string","description":"The identifier of the popover page."},"type":{"type":"string","enum":["popover"],"description":"Marks this page as a popover."},"name":{"type":"string","description":"The name of the popover."},"popover":{"allOf":[{"type":"object","required":["triggerElementId"],"properties":{"triggerElementId":{"type":"string","description":"The identifier of the button that triggers the popover."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["x-small"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]},{"type":"string","enum":["x-large"]}],"description":"Popover width breakpoint: x-small, small, medium, large, or x-large."},"spacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The element spacing preset."},"padding":{"type":"string","enum":["none"],"description":"Set to 'none' to remove padding from the popover."},"elementGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Gap between popover elements: 'shown' (default) or 'hidden'."}}}],"description":"Popover presentation: trigger button, width, spacing, padding, and element gap."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions fired by the popover when it closes."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The page background color. A hex code, `rgb()` value, or theme reference."}}}],"title":"Popover"}]},"description":"The modals, drawers, and popovers in this workbook and their contents."}}},{"type":"object","properties":{"panels":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the page header."},"type":{"type":"string","enum":["header"],"description":"Identifies this panel as a page header."}}},{"type":"object","properties":{"title":{"type":"string","description":"The display name of the header."},"pages":{"type":"array","items":{"type":"string"},"description":"Ids of the pages this panel is applied to. A page may have at most one header and one sidebar, and only normal pages can carry panels (not modals or drawers). Omit when the panel is defined but unassigned."},"config":{"type":"object","properties":{"scroll":{"oneOf":[{"type":"string","enum":["sticky"]},{"type":"string","enum":["none"]}],"description":"How the panel behaves as the page scrolls. 'sticky' pins it in place; 'none' lets it scroll away. Defaults to 'sticky'."},"borderStyle":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["shadow"]},{"type":"string","enum":["none"]}],"description":"The border drawn below the header. One of `line`, `shadow`, or `none`. `shadow` applies only when `scroll` is `sticky`."},"backgroundColor":{"type":"string","description":"Panel background color. Omit to follow the theme."}},"description":"The header presentation, including scroll behavior, border, background, and height."}}}],"title":"PageHeader"},{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the page sidebar."},"type":{"type":"string","enum":["sidebar"],"description":"Identifies this panel as a page sidebar."}}},{"type":"object","properties":{"title":{"type":"string","description":"The display name of the sidebar."},"pages":{"type":"array","items":{"type":"string"},"description":"Ids of the pages this panel is applied to. A page may have at most one header and one sidebar, and only normal pages can carry panels (not modals or drawers). Omit when the panel is defined but unassigned."},"width":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"Sidebar width preset. One of `small` (200px), `medium` (260px), or `large` (400px). Defaults to `medium`."},"config":{"type":"object","properties":{"scroll":{"oneOf":[{"type":"string","enum":["sticky"]},{"type":"string","enum":["none"]}],"description":"How the panel behaves as the page scrolls. 'sticky' pins it in place; 'none' lets it scroll away. Defaults to 'sticky'."},"borderStyle":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["none"]}],"description":"The border style for the sidebar."},"backgroundColor":{"type":"string","description":"Panel background color. Omit to follow the theme."}},"description":"The sidebar presentation, including scroll behavior, border, and background color."}}}],"title":"PageSidebar"}]},"description":"The definitions of page headers and sidebars in this document."}}},{"type":"object","properties":{"settings":{"type":"object","properties":{"theme":{"type":"object","properties":{"name":{"oneOf":[{"oneOf":[{"type":"string","enum":["Light"]},{"type":"string","enum":["Dark"]},{"type":"string","enum":["Surface"]}]},{"type":"string"}],"description":"The name of a built-in theme (`Light`, `Dark`, or `Surface`) or the UUID of an organization theme. Omit to use the organization default theme, or `Light` when the organization has no default."},"overrides":{"type":"object","properties":{"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"categoricalScheme":{"oneOf":[{"type":"string","description":"Named categorical palette.","title":"Named palette"},{"type":"array","items":{"type":"string"},"description":"Custom hex color list.","title":"Custom palette"}],"description":"The categorical color palette, as a palette name or custom hex array. Defaults to `superbloom`."},"colorOverrides":{"type":"array","items":{"type":"object","required":["name","color"],"properties":{"name":{"type":"string","description":"ColorTheme slot name (matches the theme color inspector, e.g. baseCanvasSurface)."},"color":{"type":"string"}}},"description":"Overrides for particular layout theme colors as hex codes. Keys match the theme color inspector (e.g. baseCanvasSurface, elementBackground)."},"colors":{"type":"object","properties":{"text":{"type":"string","description":"The primary text color, as a hex code."},"highlight":{"type":"string","description":"The highlight or accent color, as a hex code. Maps to the theme's `$primary` color."},"surface":{"type":"string","description":"The surface color, as a hex code."},"success":{"type":"string","description":"The success color, as a hex code."},"warning":{"type":"string","description":"The warning color, as a hex code."},"danger":{"type":"string","description":"The danger color, as a hex code."},"darkMode":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether dark color mode is on. Defaults to `hidden`."}}},"divergingScheme":{"type":"string","description":"The named diverging color scheme. Defaults to `blueorange`."},"elementBorder":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"width":{"type":"number","description":"Element border width in pixels (0–3)."}}},"fonts":{"type":"object","properties":{"dataFont":{"type":"string","description":"The font family for workbook data. Defaults to `Roboto`."},"textFont":{"type":"string","description":"The font family for non-data text, like element titles, descriptions, and table headers."}}},"hasCards":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether elements are framed as cards (with a border, background, and padding). Defaults to `shown`."},"invertTooltipColors":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether to invert text and background colors in visualization tooltips. Defaults to `shown`."},"layoutColors":{"type":"object","properties":{"useElementForeground":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether elements render above the canvas."}}},"maxPageWidth":{"type":"number","description":"Max page width in pixels when pageWidth is custom (minimum 600)."},"pageWidth":{"oneOf":[{"type":"string","enum":["full"]},{"type":"string","enum":["large"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["custom"]}],"description":"The page content width."},"sequentialScheme":{"type":"string","description":"The named sequential color scheme. Defaults to `blues`."},"space":{"type":"object","properties":{"showElementPadding":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether padding around elements is shown. Defaults to `shown`."},"unit":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The element spacing preset."}}},"tableStyles":{"$ref":"#/components/schemas/TableStyle"},"titleFont":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Title font size in pixels (6–96)."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}]}}}},"description":"Customizations applied on top of the base theme selected by `name`, or the document's default theme when `name` is omitted."}},"description":"The document theme. Either the name of a theme in the organization or a built-in theme. Optionally, applies per-field overrides to the theme for colors and fonts.","title":"Theme"},"navigation":{"type":"object","properties":{"pageHeader":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether page headers are enabled in the workbook. Defaults to `disabled`. A page also needs a header panel assigned before one renders."},"pageSidebar":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether page sidebars are enabled in the workbook. Defaults to `disabled`. A page also needs a sidebar panel assigned before one renders."},"primary":{"oneOf":[{"type":"string","enum":["sidebar"]},{"type":"string","enum":["header"]}],"description":"Which panel overlays the other when a page has both a header and a sidebar. If panels have different scroll styles, the fixed panel overlays the scrolling panel. Defaults to `sidebar`."},"pageTabsInViewMode":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether viewers see the page tab bar. Defaults to `shown`."}},"description":"The workbook navigation settings for page headers, page sidebars, and page tabs. Omitting it drops any previously stored navigation settings."}},"description":"The document-level settings. Accepts `theme`, and `navigation` on a workbook. A report accepts `theme` alone.","title":"Document Settings"}}},{"type":"object","properties":{"agents":{"type":"array","items":{"allOf":[{"type":"object","required":["id","instructions"],"properties":{"id":{"type":"string","description":"The identifier of the agent."},"instructions":{"type":"string","description":"Instructions that guide the agent. Use `{{formula}}` for dynamic values, `@dataSource(\"elementId\")` for configured data sources, and `@tool(\"toolId\")` for configured tools."}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the agent."},"description":{"type":"string","description":"The description of the agent."},"greeting":{"oneOf":[{"type":"object","required":["mode","message"],"properties":{"mode":{"type":"string","enum":["static"]},"message":{"type":"string","description":"The first message an agent displays when the chat opens. Not generated by the AI provider. Supports dynamic `{{formula}}` text."}},"description":"","title":"Fixed greeting"},{"type":"object","required":["mode","prompt"],"properties":{"mode":{"type":"string","enum":["generated"]},"prompt":{"type":"string","description":"The prompt the agent uses to generate the first message displayed when the chat opens. Supports dynamic `{{formula}}` text."}},"description":"","title":"Generated greeting"}],"description":"The greeting message for the agent. Set `mode` to `static` with a `message`, or `generated` with a `prompt`. Omit for the product default."},"dataSources":{"type":"array","items":{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of a workbook element, such as a table or chart, the agent can read from."}},"description":"","title":"Workbook element"},"description":"The data elements or data model tables the agent can access."},"tools":{"type":"array","items":{"oneOf":[{"type":"object","required":["toolId","kind","connectorId","name"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["mcp-connector"]},"connectorId":{"type":"string","description":"The UUID of the MCP connector."},"name":{"type":"string","description":"The display name of the MCP connector."}},"description":"","title":"MCP connector"},{"allOf":[{"type":"object","required":["toolId","kind"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["warehouse-agent"]}}},{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","properties":{"description":{"type":"string","description":"A description of when the agent should invoke this warehouse agent."}}}],"description":"","title":"Warehouse agent"},{"allOf":[{"type":"object","required":["toolId","kind","description"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["search-service"]},"description":{"type":"string","description":"A description of what this search service can retrieve, used by the agent to decide when to call it."}}},{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}}],"description":"","title":"Search service"},{"allOf":[{"type":"object","required":["toolId","kind","name","description","steps"],"properties":{"toolId":{"type":"string","description":"The identifier of the tool within this agent. Must not contain '[', ']', '/', or '\\', and must not have leading or trailing whitespace."},"kind":{"type":"string","enum":["action"]},"name":{"type":"string","description":"The display name of the action tool."},"description":{"type":"string","description":"A description of what this tool does and when the agent should invoke it."},"steps":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["kind","sequenceId"],"properties":{"kind":{"type":"string","enum":["sequence"]},"sequenceId":{"type":"string","description":"The identifier of an action sequence in the workbook."}}},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for this step."}}}],"description":"","title":"Sequence reference"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["effect"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["effect","connectorId"],"properties":{"effect":{"type":"string","enum":["call-api"]},"connectorId":{"type":"string","description":"The ID of the API connector to call."}}},{"type":"object","properties":{"arguments":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Values to send to the API connector, keyed by parameter name."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls an API connector with configured values.","title":"Call API"},{"allOf":[{"type":"object","required":["effect","openTarget"],"properties":{"effect":{"type":"string","enum":["open-url"]},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the URL opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."}}},{"type":"object","properties":{"url":{"type":"string","description":"The URL to open. Supports dynamic `{{formula}}` text."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a URL in the same tab, a new tab, or the parent frame.","title":"Open URL"},{"allOf":[{"type":"object","required":["effect","overlayId"],"properties":{"effect":{"type":"string","enum":["open-overlay"]},"overlayId":{"type":"string","description":"The identifier of the modal or drawer to open."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens a modal.","title":"Open Overlay"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["close-overlay"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Closes the currently open modal.","title":"Close Overlay"},{"allOf":[{"type":"object","required":["effect","control","value"],"properties":{"effect":{"type":"string","enum":["set-control-value"]},"control":{"type":"string","description":"The control ID of the control to update with a new value."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"description":"The value to set on the control."}}},{"type":"object","properties":{"selectionMode":{"oneOf":[{"type":"string","enum":["replace"]},{"type":"string","enum":["add"]},{"type":"string","enum":["remove"]}],"description":"How the value combines with the current selection. Defaults to `replace`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets a control's value, optionally combining with the current selection.","title":"Set Control Value"},{"allOf":[{"type":"object","required":["effect","scope"],"properties":{"effect":{"type":"string","enum":["clear-control"]},"scope":{"oneOf":[{"type":"object","required":["type","controlId"],"properties":{"type":{"type":"string","enum":["control"]},"controlId":{"type":"string"}},"description":"Clear a single control by its control ID.","title":"Control"},{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Clear every control in a container by the container element ID.","title":"Container"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["page"]}}},{"type":"object","properties":{"pageId":{"type":"string"}}}],"description":"Clear every control on a page by page ID, or the current page when omitted.","title":"Page"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"Clear every control in the workbook.","title":"Workbook"}],"description":"The scope of controls to clear. One of a specific `control`, all controls in a `container` or `page`, or the entire `workbook`."}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears one or more controls to empty or their published value.","title":"Clear Control"},{"allOf":[{"type":"object","required":["effect"],"properties":{"effect":{"type":"string","enum":["reset-form"]}}},{"type":"object","properties":{"usePublishedValue":{"type":"boolean","description":"Whether to reset to the published value instead of clearing to empty."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Resets all fields in the host form to empty or published values.","title":"Reset Form"},{"allOf":[{"type":"object","required":["effect","formElementId","values"],"properties":{"effect":{"type":"string","enum":["set-form-values"]},"formElementId":{"type":"string","description":"The element id of the target form to set."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Form fieldId -> the value to write into that field on the target form."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets one or more values on a target form.","title":"Set Form Values"},{"allOf":[{"type":"object","required":["effect","target","value"],"properties":{"effect":{"type":"string","enum":["set-single-row-container"]},"target":{"oneOf":[{"type":"object","required":["type","containerElementId"],"properties":{"type":{"type":"string","enum":["container"]},"containerElementId":{"type":"string"}},"description":"Set a single-row container element by its container element ID.","title":"Container"},{"type":"object","required":["type","modalId"],"properties":{"type":{"type":"string","enum":["modal"]},"modalId":{"type":"string"}},"description":"Set the single-row container displayed in a modal, by the modal page ID.","title":"Modal"}],"description":"The single-row container to set."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The key-column value of the row to display."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sets the row a single-row container displays.","title":"Set Single Row Container"},{"allOf":[{"type":"object","required":["effect","chatElementId"],"properties":{"effect":{"type":"string","enum":["clear-chat-element-messages"]},"chatElementId":{"type":"string","description":"The chat element whose message history to clear."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Clears a chat element's message history.","title":"Clear Chat Element Messages"},{"allOf":[{"type":"object","required":["effect","storedProcedure"],"properties":{"effect":{"type":"string","enum":["call-stored-procedure"]},"storedProcedure":{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","properties":{"signature":{"type":"string","description":"Stored procedure signature to run, using the display text shown in the workbook action editor."}}}],"description":"Stored procedure to run, identified by its connection and warehouse path."}}},{"type":"object","properties":{"arguments":{"type":"array","items":{"type":"object","required":["parameterIndex","type","value"],"properties":{"parameterIndex":{"type":"number","description":"Identifies which stored procedure input this argument supplies, using 0 for the first parameter."},"type":{"type":"string","enum":["boolean","datetime","number","integer","text"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}}},"description":"Values to pass to stored procedure inputs. Omitted inputs will be filled with default values for their parameter type."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Calls a stored procedure.","title":"Call Stored Procedure"},{"allOf":[{"type":"object","required":["effect","tableElementId","values"],"properties":{"effect":{"type":"string","enum":["insert-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table. Cannot be a linked input table."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The identifier of the column in the target table to write to and the value to write. Omitted columns keep the table's default."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Inserts a row into a target input table.","title":"Insert Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows","values"],"properties":{"effect":{"type":"string","enum":["update-rows"]},"tableElementId":{"type":"string","description":"The identifier of the target input table element. Can reference a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to update in the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The values to write into matched rows, specified by column ID."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Updates matched rows in a target input table.","title":"Update Rows"},{"allOf":[{"type":"object","required":["effect","tableElementId","whichRows"],"properties":{"effect":{"type":"string","enum":["delete-rows"]},"tableElementId":{"type":"string","description":"The input table to delete rows from. Cannot be a linked input table."},"whichRows":{"oneOf":[{"type":"object","required":["type","primaryKeys"],"properties":{"type":{"type":"string","enum":["single-row"]},"primaryKeys":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"}}},"description":"Matches one row by its primary-key columns. Set `type` to `single-row`, with `primaryKeys` mapping each primary-key column ID to the value to match it against."},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["current-row"]}},"description":"The row that triggered the action."},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"Whether to match rows where a formula over the target table's columns is true. Set `type` to `formula` and `formula` to the expression."},{"allOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column-match"]},"columnId":{"type":"string"}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}]}],"description":"Whether to match rows where the target table column meets the condition. Set `type` to `column-match`, `columnId` to the column, and `condition` to a comparison operator with `value`, `IsNull`/`IsNotNull`, or `Between`/`NotBetween` with `low` and `high`."}],"description":"The rows to delete from the input table. Set `type` to `single-row` with `primaryKeys` to match one row by its key columns, `current-row` for the row the trigger fired from, `formula` with a `formula` over the table's columns, or `column-match` with a `columnId` and `condition`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Deletes matched rows from a target input table.","title":"Delete Rows"},{"allOf":[{"oneOf":[{"allOf":[{"type":"object","required":["effect","channel","recipients","subject","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["email"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"subject":{"type":"string","description":"The email subject. Supports dynamic-text {{formula}} values."},"messageBody":{"type":"string","description":"The email body. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}},{"type":"object","properties":{"ccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients copied on the email."},"bccRecipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}],"description":"Recipients blind-copied on the email."},"runAsRecipient":{"type":"boolean","description":"Render the export using each recipient's own permissions. Defaults to false."},"zipAttachments":{"type":"boolean","description":"Compress the attachments into a single zip file. Defaults to false."}}}],"description":"Send a notification by email.","title":"Email notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["slack"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Slack message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Slack.","title":"Slack notification"},{"allOf":[{"type":"object","required":["effect","channel","recipients","messageBody"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["ms-teams"]},"recipients":{"oneOf":[{"type":"object","required":["type","values"],"properties":{"type":{"type":"string","enum":["static"]},"values":{"type":"array","items":{"type":"string"}}},"description":"A fixed list of notification destinations.","title":"Static Recipients"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["dynamic"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}]}},"description":"Notification destinations resolved from an action value source.","title":"Dynamic Recipients"}]},"messageBody":{"type":"string","description":"The Microsoft Teams message. Supports dynamic-text {{formula}} values."}}},{"type":"object","properties":{"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]},"includeLink":{"type":"boolean","description":"Include a link back to this document in the message. Defaults to false."},"linkTo":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["workbook"]}},"description":"The entire document.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this document.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this document.","title":"Element"}],"description":"Where the included link opens. Defaults to the entire document when includeLink is true."},"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Send a notification to Microsoft Teams.","title":"Microsoft Teams notification"},{"allOf":[{"type":"object","required":["effect","channel","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["download"]},"source":{"oneOf":[{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},{"type":"object","required":["type","documentId"],"properties":{"type":{"type":"string","enum":["external-report"]},"documentId":{"type":"string"}},"description":"An external report.","title":"External Report"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Comma-separated values.","title":"CSV"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"includeMetadata":{"type":"boolean"},"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}],"description":"Microsoft Excel workbook.","title":"Excel"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}},"description":"JSON data.","title":"JSON"},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}},"description":"PDF document.","title":"PDF"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}},"description":"PNG image.","title":"PNG"}]}}},{"type":"object","properties":{"controlValues":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"Control values applied to the exported content and any included link, keyed by controlId."}}}],"description":"Export content for browser download.","title":"Browser download"},{"type":"object","required":["effect","channel","endpoints","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["webhook"]},"endpoints":{"type":"array","items":{"type":"string"},"description":"The webhook endpoints that receive the export."},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}}]}},"description":"Send exported content to a webhook.","title":"Webhook export"},{"type":"object","required":["effect","channel","folderUrl","source","format"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["sharepoint"]},"folderUrl":{"type":"string","description":"The SharePoint folder URL that receives the export."},"source":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}},"description":"The whole workbook.","title":"Workbook"},{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"A page in this workbook.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"An element in this workbook.","title":"Element"}]},"format":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["csv"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["excel"]}}},{"type":"object","properties":{"repeatHeaderLabels":{"type":"boolean","description":"Repeat each pivot row or column header label in its own cell."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["json"]}}},{"type":"object","required":["type","layout","pageSize"],"properties":{"type":{"type":"string","enum":["pdf"]},"layout":{"oneOf":[{"type":"string","enum":["landscape"]},{"type":"string","enum":["portrait"]}]},"pageSize":{"oneOf":[{"type":"string","enum":["letter"]},{"type":"string","enum":["legal"]},{"type":"string","enum":["tabloid"]},{"type":"string","enum":["a0"]},{"type":"string","enum":["a1"]},{"type":"string","enum":["a2"]},{"type":"string","enum":["a3"]},{"type":"string","enum":["a4"]}]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["png"]}}}]}},"description":"Send exported content to SharePoint.","title":"SharePoint export"},{"allOf":[{"type":"object","required":["effect","channel","source","uri"],"properties":{"effect":{"type":"string","enum":["export"]},"channel":{"type":"string","enum":["cloud-storage"]},"source":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}}},"uri":{"type":"string","description":"The cloud storage URI, e.g. `s3://bucket/path`."}}},{"type":"object","properties":{"cloudStorageAccess":{"type":"string","description":"The cloud storage access configuration: a Snowflake storage integration or Redshift IAM role. Omit for a Snowflake external-stage URI."},"gzip":{"type":"boolean","description":"Compress the exported file with gzip."},"prefixTimestamp":{"type":"boolean","description":"Prefix the exported file name with the current date and time."}}}],"description":"Export content to cloud storage through the data warehouse.","title":"Cloud storage export"}]},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a notification or exports workbook content.","title":"Notify and Export"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["refresh-element"]},"target":{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The element to refresh. Refreshing a parent element also refreshes its child elements."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Refreshes a single element's data. Does not apply to materialized elements.","title":"Refresh Element"},{"allOf":[{"type":"object","required":["effect","target"],"properties":{"effect":{"type":"string","enum":["navigate"]},"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The page or element to navigate to."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Navigates to a page or element in this workbook.","title":"Navigate"},{"allOf":[{"type":"object","required":["effect","documentId","openTarget","documentType"],"properties":{"effect":{"type":"string","enum":["open-document"]},"documentId":{"type":"string","description":"The identifier of the workbook or report to open."},"openTarget":{"oneOf":[{"type":"string","enum":["_self"]},{"type":"string","enum":["_blank"]},{"type":"string","enum":["_parent"]}],"description":"Where the document opens. One of `_self` (same tab), `_blank` (new tab), or `_parent` (parent frame)."},"documentType":{"oneOf":[{"type":"string","enum":["workbook"]},{"type":"string","enum":["report"]}],"description":"The type of document to open."}}},{"type":"object","properties":{"target":{"oneOf":[{"type":"object","required":["type","page"],"properties":{"type":{"type":"string","enum":["page"]},"page":{"type":"string"}},"description":"The identifier of the page to navigate to.","title":"Page"},{"type":"object","required":["type","element"],"properties":{"type":{"type":"string","enum":["element"]},"element":{"type":"string"}},"description":"The identifier of the element to navigate to.","title":"Element"}],"description":"The identifier of a page or element to open inside the target document. Values are passed through as specified without validation."},"targetControls":{"type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"description":"","title":"Text list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]}}},"description":"","title":"Number list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]}}},"description":"","title":"Date list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean-list"]},"value":{"type":"array","items":{"oneOf":[{"type":"string","enum":["is-true"]},{"type":"string","enum":["is-false"]},{"type":"string","enum":["is-null"]}]}}},"description":"","title":"Boolean list"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number-range"]},"value":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}},"description":"","title":"Number range"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date-range"]},"value":{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}},"description":"","title":"Date range"}]}},"description":"A literal value, of the same data type as the target control.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"},{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string"}},"description":"A column ID on the host element's source. Only valid on a select trigger.","title":"Column"},{"type":"object","required":["type","fieldId"],"properties":{"type":{"type":"string","enum":["form-field"]},"fieldId":{"type":"string"}},"description":"A form field's current value. Set `fieldId` to the form field's `fieldId`. Only valid in form actions.","title":"FormField"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["column-range"]}}},{"type":"object","properties":{"minColumnId":{"type":"string"},"maxColumnId":{"type":"string"}}}],"description":"The column IDs on the host element's source that provide the lower and upper bounds of a range control, on select triggers. Set either bound alone for an open-ended range.","title":"ColumnRange"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["formula-range"]}}},{"type":"object","properties":{"min":{"type":"string"},"max":{"type":"string"}}}],"description":"A pair of formula expressions providing the lower and upper bounds of a range control, on select triggers.","title":"FormulaRange"},{"type":"object","required":["type","inputName"],"properties":{"type":{"type":"string","enum":["agent-input"]},"inputName":{"type":"string","description":"The label for the value provided by the agent, e.g. 'Customer name'."}},"description":"A value provided by an agent when it runs this action. Use only with an action tool for an agent.","title":"AgentInput"}],"type":"object"},"description":"The set of controls in the target document and the values to set them to when the document is opened, as key-value pairs. Keys name inputs in the target document. Values must be specified from the current workbook."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Opens another workbook or report.","title":"Open Document"},{"allOf":[{"type":"object","required":["effect","tabbedContainerElementId","selectedTab"],"properties":{"effect":{"type":"string","enum":["select-tab"]},"tabbedContainerElementId":{"type":"string","description":"The tabbed container element to select a tab in."},"selectedTab":{"oneOf":[{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["direction"]},"direction":{"oneOf":[{"type":"string","enum":["next"]},{"type":"string","enum":["previous"]}]}},"description":"Selects a tab relative to the currently active tab.","title":"Direction"},{"type":"object","required":["type","index"],"properties":{"type":{"type":"string","enum":["tab"]},"index":{"type":"number","description":"The 0-based index into the tabbed container's tab order. The first tab is `0`."}},"description":"The 0-based index of the tab to display in the tabbed container. The first tab is `0`.","title":"Tab"}],"description":"The tab to select. Set `type` to `direction` with a `direction` (`next` or `previous`), or `tab` with a 0-based `index`."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Selects a tab on a tabbed container.","title":"Select Tab"},{"allOf":[{"type":"object","required":["effect","elementId","sort"],"properties":{"effect":{"type":"string","enum":["custom-sort"]},"elementId":{"type":"string","description":"The element to sort."},"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation function for the sort. Only valid when `by` references a column ID (not \"row-count\")."},"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How null values sort. Omit, or use 'connection-default', for the connection's default null ordering."}}}]},{"type":"object","required":["type","columns"],"properties":{"type":{"type":"string","enum":["level"]},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How the sort order treats null values."}}}]},"description":"Ordered list of columns to sort by."}}}],"description":"The sort to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sorts a chart (or pivot table) by one of its columns, or a Table's rows by an ordered list of columns.","title":"Custom Sort"},{"allOf":[{"type":"object","required":["effect","elementId","modification"],"properties":{"effect":{"type":"string","enum":["modify-element"]},"elementId":{"type":"string","description":"The element to modify."},"modification":{"oneOf":[{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["move-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["base"]}},"title":"Base destination"}],"description":"Where to move the column."},"source":{"oneOf":[{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"title":"Column source"},{"allOf":[{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}},{"type":"object","properties":{"matchOrder":{"type":"boolean","description":"Order the moved column(s) to match the control's selected-value order. Requires a multi-select control."}}}]}],"description":"The column to move, or a control whose selected values determine which columns to move."}}},{"type":"object","required":["type","destination","source"],"properties":{"type":{"type":"string","enum":["swap-column"]},"destination":{"oneOf":[{"type":"object","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"]},"channel":{"oneOf":[{"type":"string","enum":["x-axis"]},{"type":"string","enum":["y-axis"]},{"type":"string","enum":["measure"]},{"type":"string","enum":["comparison"]},{"type":"string","enum":["hole-value"]},{"type":"string","enum":["color-category"]},{"type":"string","enum":["color-scale"]},{"type":"string","enum":["split-by"]},{"type":"string","enum":["label"]},{"type":"string","enum":["tooltip"]},{"type":"string","enum":["row"]},{"type":"string","enum":["column"]},{"type":"string","enum":["size"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["stages"]},{"type":"string","enum":["category"]},{"type":"string","enum":["region"]},{"type":"string","enum":["geography"]},{"type":"string","enum":["latitude"]},{"type":"string","enum":["longitude"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"The chart channel to move the column onto."}},"title":"Channel destination"},{"type":"object","required":["type","groupingId"],"properties":{"type":{"type":"string","enum":["grouping"]},"groupingId":{"type":"string","description":"The ID of the grouping (level) on a Table element to move the column into."}},"title":"Grouping destination"}],"description":"Where to move the column. The column already occupying this destination is moved to where `source` came from."},"source":{"type":"object","required":["type","columnId"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The ID of the column to move or swap."}},"description":"The column to swap."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["show-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to show, or a control whose selected values determine which columns to show."}}},{"type":"object","required":["type","source"],"properties":{"type":{"type":"string","enum":["hide-columns"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["columns"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The column IDs to show or hide."}}},{"type":"object","properties":{"otherColumns":{"oneOf":[{"type":"string","enum":["unchanged"]},{"type":"string","enum":["opposite"]}],"description":"What happens to columns not named in `columnIds`: 'unchanged' (default), or 'opposite' to apply the opposite visibility to them."}}}],"title":"Static columns source"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string","description":"The driving control's public variableName. Must be the action's own trigger control -- the control whose change event runs this action."}}}],"description":"The columns to hide, or a control whose selected values determine which columns to hide."}}},{"allOf":[{"type":"object","required":["type","scale"],"properties":{"type":{"type":"string","enum":["set-axis-scale"]},"scale":{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."}},"description":"The scale to apply."}}},{"type":"object","properties":{"axis":{"oneOf":[{"type":"string","enum":["dimension"]},{"type":"string","enum":["value"]},{"type":"string","enum":["secondary-value"]}],"description":"Which axis to scale: the category/dimension axis, the primary measure axis (default), or the secondary measure axis (columns flagged onto it)."}}}]}],"description":"The modification to apply."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Shows, hides, moves, or swaps columns, or sets an axis scale, on a chart, pivot table, or Table element.","title":"Modify Element"},{"allOf":[{"type":"object","required":["effect","codeElementId"],"properties":{"effect":{"type":"string","enum":["run-python-element"]},"codeElementId":{"type":"string","description":"The code element to run."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Runs a code element.","title":"Run Python Element"},{"allOf":[{"type":"object","required":["effect","pluginElementId","pluginEffectId"],"properties":{"effect":{"type":"string","enum":["trigger-plugin"]},"pluginElementId":{"type":"string","description":"The plugin element whose action effect to trigger."},"pluginEffectId":{"type":"string","description":"The action effect ID registered by the plugin."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Triggers an action effect within a plugin element.","title":"Trigger Plugin"},{"allOf":[{"type":"object","required":["effect","eventName","payload"],"properties":{"effect":{"type":"string","enum":["send-embed-event"]},"eventName":{"type":"string","description":"The event name included in the posted message."},"payload":{"type":"array","items":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","description":"The key for this value in the posted message payload."},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["constant"]},"value":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["text"]},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"A text value, or null for empty."}},"description":"","title":"Text"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"]},"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"A number value, or null for empty."}},"description":"","title":"Number"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["boolean"]},"value":{"oneOf":[{"type":"boolean"},{"type":"null"}],"description":"A boolean value, or null for empty."}},"description":"","title":"Boolean"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["date"]},"value":{"oneOf":[{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}]},{"type":"null"}],"description":"A date value in ISO 8601 format (fixed or relative), or null for empty. E.g. `2017-08-26T05:21:34Z`."}},"description":"","title":"Date"}]}},"description":"A literal scalar value.","title":"Constant"},{"type":"object","required":["type","control"],"properties":{"type":{"type":"string","enum":["control"]},"control":{"type":"string"}},"description":"A copy of another control's current value, referenced by its control ID.","title":"Control"},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string"}},"description":"A formula expression. Can reference controls by control ID, other elements by name, or [Selection/col] for a select trigger.","title":"Formula"}],"description":"The value to include."}}},"description":"Key-value pairs included in the posted message payload, in order."}}},{"type":"object","properties":{"name":{"type":"string","description":"Name of the effect. A named effect’s return value can be referenced in later formulas when the effect produces one."}}}],"description":"Sends a message to the embedding parent page.","title":"Send Embed Event"}]},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for this step."}}}],"description":"An action effect to run. Effects that depend on user interaction, such as a selected row or column, are not supported.","title":"Inline effect"}]},"description":"The steps the agent runs when it invokes this action tool."}}},{"type":"object","properties":{"requiresApproval":{"type":"boolean","description":"Whether the agent must pause to get user approval before running this tool. Defaults to `false`."}}}],"description":"","title":"Action"}]},"description":"The tools the agent can invoke to take action or enrich insights."}}}]},"description":"The agents defined in the workbook. Reference one from a chat element using `agentId`."}}},{"type":"object","properties":{"automatedActions":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["effects","id"],"properties":{"effects":{"type":"array","items":{"allOf":[{"type":"object","required":["agentId","effect","prompt"],"properties":{"agentId":{"type":"string","description":"The identifier of the Sigma agent to run in this workbook."},"effect":{"type":"string","enum":["call-agent"]},"prompt":{"type":"string","description":"The instructions passed to the agent when the action runs."}}},{"type":"object","properties":{"actionVariables":{"type":"array","items":{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the action variable for the agent to return the value from."},"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"Scalar data type of the action variable."}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the action variable."}}}]},"description":"The action variables populated from the agent response."}}}]},"description":"Ordered effects that run when the trigger fires."},"id":{"type":"string","description":"The stable identifier for this automated action sequence."}}},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for the automated action sequence."},"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the automated action sequence is turned on or off."}}},{"type":"object","required":["schedule","trigger"],"properties":{"schedule":{"type":"object","required":["cronSpec","timezone"],"properties":{"cronSpec":{"type":"string","description":"The cron expression that determines when the scheduled action runs. E.g., `0 9 * * 1` runs every Monday at 9:00 AM."},"timezone":{"type":"string","description":"The IANA timezone used to evaluate the cron expression."}},"description":"Recurring schedule configuration, including a cron expression and timezone."},"trigger":{"type":"string","enum":["schedule"],"description":"Runs the automated action sequence on a recurring schedule."}}}],"description":"","title":"Scheduled"},{"allOf":[{"type":"object","required":["effects","id"],"properties":{"effects":{"type":"array","items":{"allOf":[{"type":"object","required":["agentId","effect","prompt"],"properties":{"agentId":{"type":"string","description":"The identifier of the Sigma agent to run in this workbook."},"effect":{"type":"string","enum":["call-agent"]},"prompt":{"type":"string","description":"The instructions passed to the agent when the action runs."}}},{"type":"object","properties":{"actionVariables":{"type":"array","items":{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the action variable for the agent to return the value from."},"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"Scalar data type of the action variable."}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the action variable."}}}]},"description":"The action variables populated from the agent response."}}}]},"description":"Ordered effects that run when the trigger fires."},"id":{"type":"string","description":"The stable identifier for this automated action sequence."}}},{"type":"object","properties":{"name":{"type":"string","description":"Optional display name for the automated action sequence."},"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the automated action sequence is turned on or off."}}},{"type":"object","required":["trigger"],"properties":{"trigger":{"type":"string","enum":["webhook"],"description":"Runs the automated action sequence when its webhook URL receives a request."}}},{"type":"object","properties":{"variables":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string"},"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}]}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the webhook variable. Defaults to id."},"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether the webhook request may omit this variable."}}}],"description":"","title":"Scalar"},{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["variant"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the webhook variable. Defaults to id."},"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether the webhook request may omit this variable."}}}],"description":"","title":"Variant"},{"allOf":[{"type":"object","required":["elementType","id","type"],"properties":{"elementType":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}]}},"description":"","title":"Scalar"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["variant"]}},"description":"","title":"Variant"},{"type":"object","required":["fields","type"],"properties":{"fields":{"type":"array","items":{"allOf":[{"type":"object","required":["name","type"],"properties":{"name":{"type":"string","description":"Field name within the record."},"type":{"oneOf":[{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}]},{"type":"string","enum":["variant"]}],"description":"Scalar or variant type of the field value."}}},{"type":"object","properties":{"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether this field may be omitted from the payload."}}}]}},"type":{"type":"string","enum":["record"]}},"description":"","title":"Record"}]},"id":{"type":"string"},"type":{"type":"string","enum":["array"]}}},{"type":"object","properties":{"name":{"type":"string","description":"Display name for the webhook variable. Defaults to id."},"optional":{"oneOf":[{"type":"string","enum":["optional"]},{"type":"string","enum":["required"]}],"description":"Whether the webhook request may omit this variable."}}}],"description":"","title":"Array"}]},"description":"Variables the webhook request body may (or must) provide, made available to the effects below."}}}],"description":"","title":"Webhook"}]},"description":"The action sequences that run automatically on a schedule or webhook trigger."}}}]},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["workbook"],"description":"Document kind. Always `workbook` for this resource."}}},{"type":"object","required":["layout"],"properties":{"layout":{"type":"string","description":"Grid and stack layout as XML.","title":"Layout XML"}}}],"description":"The code representation of the workbook to write: its pages, elements, columns, sources, layout, and theme.","title":"Workbook Document"}}},{"type":"object","properties":{"documentVersion":{"type":"number","description":"When provided, update only if the workbook is still at this document version."}}}]},"DataTypes":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["null"]}},"description":"","title":"Null"},{"type":"object","required":["type","val"],"properties":{"type":{"type":"string","enum":["bool"]},"val":{"type":"boolean","description":"Set data value"}},"description":"","title":"Boolean"},{"type":"object","required":["type","val"],"properties":{"type":{"type":"string","enum":["number"]},"val":{"type":"number","description":"Set data value"}},"description":"","title":"Number"},{"type":"object","required":["type","val"],"properties":{"type":{"type":"string","enum":["string"]},"val":{"type":"string","description":"Set data value"}},"description":"","title":"String"},{"type":"object","required":["type","val"],"properties":{"type":{"type":"string","enum":["integer"]},"val":{"type":"string","description":"Set data value"}},"description":"","title":"Integer"},{"type":"object","required":["type","val"],"properties":{"type":{"type":"string","enum":["datetime"]},"val":{"type":"string","description":"Set data value"}},"description":"","title":"DateTime"},{"type":"object","required":["type","val"],"properties":{"type":{"type":"string","enum":["error"]},"val":{"type":"string","description":"Set data value"}},"description":"","title":"Error"},{"type":"object","required":["type","val"],"properties":{"type":{"type":"string","enum":["record"]},"val":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/DataTypes"},"description":"Set data value"}},"description":"","title":"Record"},{"type":"object","required":["type","val"],"properties":{"type":{"type":"string","enum":["variant"]},"val":{"type":"string"}},"description":"","title":"Variant"},{"type":"object","required":["type","val"],"properties":{"type":{"type":"string","enum":["array"]},"val":{"oneOf":[{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["boolArr"]},"data":{"type":"array","items":{"type":["boolean","null"]}}}},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["numberArr"]},"data":{"type":"array","items":{"type":["number","null"]}}}},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["bigintArr"]},"data":{"type":"array","items":{"type":["string","null"]}}}},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["stringArr"]},"data":{"type":"array","items":{"type":["string","null"]}}}},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["datetimeArr"]},"data":{"type":"array","items":{"type":["number","null"]}}}},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["bytesArr"]},"data":{"type":"array","items":{"type":["string","null"]}}}},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["variantArr"]},"data":{"type":"array","items":{"type":["string","null"]}}}}]}},"description":"","title":"Array"}],"description":"Set a constant value for condition"},"DataModelSpec":{"allOf":[{"type":"object","required":["dataModelId"],"properties":{"dataModelId":{"type":"string","description":"Unique identifier of the data model.","title":"Data model ID"}}},{"type":"object","required":["name","url","documentVersion","latestDocumentVersion","ownerId","folderId","createdBy","updatedBy","createdAt","updatedAt"],"properties":{"name":{"type":"string","description":"The name of the data model."},"url":{"type":"string","description":"The full URL for the requested document version of the data model."},"documentVersion":{"type":"number","description":"The document version of the data model."},"latestDocumentVersion":{"type":"number","description":"The most recently published document version of the data model."},"ownerId":{"type":"string","description":"The identifier of the user who owns the data model."},"folderId":{"type":"string","description":"The identifier of the folder in which the data model is located."},"createdBy":{"type":"string","description":"The identifier of the user who created the data model."},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated the data model."},"createdAt":{"type":"string","format":"date-time","description":"When the data model was created."},"updatedAt":{"type":"string","format":"date-time","description":"When the data model was last updated."}}},{"type":"object","properties":{"description":{"type":"string","description":"The description of the data model."}}},{"allOf":[{"type":"object","required":["schemaVersion"],"properties":{"schemaVersion":{"type":"number","enum":[1],"description":"The schema version used by this representation of the data model."}}},{"type":"object","properties":{"kind":{"type":"string","enum":["data-model"],"description":"Document kind. Informational field, ignored when creating or updating a document."}}},{"type":"object","required":["pages"],"properties":{"pages":{"type":"array","items":{"type":"object","required":["id","name","elements"],"properties":{"id":{"type":"string","description":"The identifier of the page in the data model."},"name":{"type":"string","description":"The name of the page."},"elements":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","kind","columns","source"],"properties":{"id":{"type":"string","description":"The identifier of the table."},"kind":{"type":"string","enum":["table"]},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The reference or calculation for the column."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Indicates whether or not the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the number specified in d3 format."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix to apply to the number."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The interval at which to use the digit grouping symbol."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date specified in d3 time format."}}}]}],"description":"The display format of the column."}}}]},"description":"The columns of the table and their formulas."},"source":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"}],"description":"The source of the table."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the table."},"description":{"type":"string","description":"The description of the table."},"metrics":{"type":"array","items":{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the metric."},"formula":{"type":"string","description":"The formula defining the metric."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the metric."},"description":{"type":"string","description":"The description of the metric."},"isHighlighted":{"type":"boolean","description":"Indicates whether or not the metric is highlighted."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the number specified in d3 format."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix to apply to the number."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The interval at which to use the digit grouping symbol."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date specified in d3 time format."}}}]}],"description":"The display format of the column."},"timeline":{"allOf":[{"type":"object","required":["dateColumnId"],"properties":{"dateColumnId":{"type":"string","description":"The column of date data used to create the metric timeline."}}},{"type":"object","properties":{"truncation":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The precision to truncate the date to."},"comparison":{"allOf":[{"type":"object","required":["comparisonPeriod"],"properties":{"comparisonPeriod":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time period to compare the current metric value against."}}},{"type":"object","properties":{"direction":{"oneOf":[{"type":"string","enum":["higher-is-better"]},{"type":"string","enum":["lower-is-better"]}],"description":"Indicates whether higher or lower comparison values are better for that metric."}}}],"description":"The time period to compare the current metric value against."}}}],"description":"The timeline configuration for the metric."}}}]},"description":"The metrics associated with this table and their configurations."},"metricFolders":{"type":"array","items":{"allOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"The identifier of the metric folder."},"name":{"type":"string","description":"The name of the metric folder."}}},{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"description":"The metric and sub-folder IDs contained within the folder, in display order."}}}]},"description":"The metric folders in the table and their contents."},"metricOrder":{"type":"array","items":{"type":"string"},"description":"A list of metric and metric-folder identifiers that determines display order."},"relationships":{"type":"array","items":{"allOf":[{"type":"object","required":["id","targetElementId","keys"],"properties":{"id":{"type":"string","description":"The identifier of the relationship."},"targetElementId":{"type":"string","description":"The identifier of the table joined to the parent table in the relationship."},"keys":{"type":"array","items":{"type":"object","required":["sourceColumnId","targetColumnId"],"properties":{"sourceColumnId":{"type":"string","description":"The column from the parent table joined in this relationship."},"targetColumnId":{"type":"string","description":"The column from the target table joined in this relationship."}}},"description":"The pairs of source and target column IDs joined in this relationship."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the relationship."},"description":{"type":"string","description":"The description of the relationship."},"relationshipType":{"oneOf":[{"type":"string","enum":["1:1"]},{"type":"string","enum":["1:N"]},{"type":"string","enum":["N:1"]}],"description":"[Private beta] The cardinality of the relationship."}}}]},"description":"The relationships sourced from this table and their targets."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Indicates whether or not the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 or relative format."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 or relative format."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The start date of the date range, in relative format. Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The end date of the date range, in relative format. Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values in the filter."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"Indicates the type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Indicates whether the text comparison is case 'sensitive' or 'insensitive'."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this table and their configurations."},"folders":{"type":"array","items":{"allOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"The identifier of the folder."},"name":{"type":"string","description":"The name of the folder."}}},{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"description":"The column and folder IDs contained within the folder."}}}]},"description":"The folders in the table and their contents."},"groupings":{"type":"array","items":{"allOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The identifier of the grouping."}}},{"type":"object","properties":{"groupBy":{"type":"array","items":{"type":"string"},"description":"The columns or folders that define the grouping."},"calculations":{"type":"array","items":{"type":"string"},"description":"The calculations applied to the grouping."}}}]},"description":"The groupings in the table and their contents."},"summary":{"type":"array","items":{"type":"string"},"description":"The identifiers of all columns in the table that are summaries."},"order":{"type":"array","items":{"type":"string"},"description":"A list of identifiers that determines the order in which columns and folders are displayed in the UI. Does not include summary columns."},"visibleAsSource":{"type":"boolean","description":"Indicates whether or not the table can be used as a source in other documents."},"sort":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The direction in which to sort."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"Indicates how the sort order treats null values."}}}]},"description":"The column, direction, and null behavior used to sort the rows of this table."},"columnSecurities":{"type":"array","items":{"type":"object","required":["id","restrictedColumns","criteria"],"properties":{"id":{"type":"string","description":"The identifier of the column security rule."},"restrictedColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns restricted by the column security rule."},"criteria":{"oneOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["no-one-can-view"]}},"description":"","title":"No One Can View"},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["specific-users-and-teams"]},"assignments":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","userId"],"properties":{"type":{"type":"string","enum":["user"]},"userId":{"type":"string","description":"The identifier of a Sigma user."}},"description":"","title":"User"},{"type":"object","required":["type","teamId"],"properties":{"type":{"type":"string","enum":["team"]},"teamId":{"type":"string","description":"The identifier of a team."}},"description":"","title":"Team"}]},"description":"The identifiers of the users and teams that can access the columns restricted by the column security rule."}},"description":"","title":"Specific Users and Teams"},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["user-attribute"]},"assignments":{"type":"array","items":{"type":"object","required":["userAttributeId","value"],"properties":{"userAttributeId":{"type":"string","description":"The identifier of a user attribute."},"value":{"type":"string","description":"The value for a user attribute."}}},"description":"The identifier of a user attribute and the value users must be assigned to view the columns restricted by the column security rule."}},"description":"","title":"User Attribute"}]}}},"description":"A list of the column security rules applied to columns in this table."},"uniqueKeys":{"type":"array","items":{"type":"string"},"description":"[Private beta] The identifiers of the columns that uniquely identify records in the table."}}}],"description":"","title":"Table"},{"oneOf":[{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["checkbox"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["True/False"]},{"type":"string","enum":["True/All"]}],"description":"The mode of the control."}}},{"type":"object","properties":{"value":{"type":"boolean","description":"The selected value in the control."}}}],"description":"","title":"Checkbox"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["switch"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["True/False"]},{"type":"string","enum":["True/All"]}],"description":"The mode of the control."}}},{"type":"object","properties":{"value":{"type":"boolean","description":"The selected value in the control."}}}],"description":"","title":"Switch"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["text"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"Indicates the type of text comparison to make."}}},{"type":"object","properties":{"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Indicates whether the text comparison is case 'sensitive' or 'insensitive'."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."},"showOperators":{"type":"boolean","description":"Indicates whether or not to display the control mode in the UI."},"value":{"type":"string","description":"The text entered in the control."}}}],"description":"","title":"Text"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["text-area"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"value":{"type":"string","description":"The text entered in the control."}}}],"description":"","title":"Text Area"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The operator used to filter numbers."}}},{"type":"object","properties":{"value":{"type":"number","description":"The number entered in the control."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Number"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["date"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The operator used to filter dates."}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The date selected in the control, in ISO 8601 or relative format."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Date"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["date-range"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 or relative format."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 or relative format."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The start date of the date range, in relative format. Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The end date of the date range, in relative format. Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["top-n"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"oneOf":[{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."}}},{"type":"object","required":["source"],"properties":{"source":{"allOf":[{"type":"object","required":["kind","source","columnId"],"properties":{"kind":{"type":"string","enum":["source"]},"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column used as a value source for the control."}}},{"type":"object","properties":{"displayColumnId":{"type":"string","description":"The identifier of the column containing display names for the control values."}}}]}}},{"oneOf":[{"allOf":[{"type":"object","required":["selectionMode"],"properties":{"selectionMode":{"type":"string","enum":["single"]}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}]},{"type":"object","properties":{"selectionMode":{"type":"string","enum":["multiple"]},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values in the filter."}}}]}]},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."}}},{"type":"object","properties":{"source":{"allOf":[{"type":"object","required":["kind","valueType"],"properties":{"kind":{"type":"string","enum":["manual"]},"valueType":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["date"]},{"type":"string","enum":["boolean"]}],"description":"The data type of the list values."}}},{"type":"object","properties":{"values":{"oneOf":[{"type":"array","items":{"type":"boolean"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"string","description":"","title":"Fixed Date"}}],"description":"The list of possible values in the control."},"labels":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The list of labels applied to the values in the control."}}}]}}},{"oneOf":[{"allOf":[{"type":"object","required":["selectionMode"],"properties":{"selectionMode":{"type":"string","enum":["single"]}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}]},{"type":"object","properties":{"selectionMode":{"type":"string","enum":["multiple"]},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values in the filter."}}}]}]}],"description":"","title":"List values"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["segmented"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"clearLabel":{"type":"string","description":"The text displayed for the clear option if showClearLabel is true."},"showClearLabel":{"type":"boolean","description":"Indicates whether or not to include a clear option in the control."},"source":{"oneOf":[{"allOf":[{"type":"object","required":["kind","valueType"],"properties":{"kind":{"type":"string","enum":["manual"]},"valueType":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["date"]},{"type":"string","enum":["boolean"]}],"description":"The data type of the list values."}}},{"type":"object","properties":{"values":{"oneOf":[{"type":"array","items":{"type":"boolean"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"string","description":"","title":"Fixed Date"}}],"description":"The list of possible values in the control."},"labels":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The list of labels applied to the values in the control."}}}],"description":"","title":"Manual"},{"allOf":[{"type":"object","required":["kind","source","columnId"],"properties":{"kind":{"type":"string","enum":["source"]},"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column used as a value source for the control."}}},{"type":"object","properties":{"displayColumnId":{"type":"string","description":"The identifier of the column containing display names for the control values."}}}],"description":"","title":"Source"}],"description":"The source of the possible values in the control."}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}],"description":"","title":"Segmented Control"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"source":{"type":"object","required":["source","columnId"],"properties":{"source":{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},"columnId":{"type":"string"}}},"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}}}}}],"description":"","title":"Hierarchy"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["slider"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The comparison operator used by the control."}}},{"type":"object","properties":{"low":{"type":"number","description":"The minimum value of the slider."},"high":{"type":"number","description":"The maximum value of the slider."},"step":{"type":"number","description":"The amount the slider increments by between steps."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"value":{"type":"number","description":"The number selected in the control."}}}],"description":"","title":"Slider"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["range-slider"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"low":{"type":"number","description":"The minimum value of the slider."},"high":{"type":"number","description":"The maximum value of the slider."},"step":{"type":"number","description":"The amount the slider increments by between steps."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Range Slider"}],"description":"","title":"Control"}]},"description":"The elements on the page."}}},"description":"The pages of the data model and their contents."}}}]}]},"CreateDataModelSpec":{"allOf":[{"type":"object","required":["name","folderId"],"properties":{"name":{"type":"string","description":"The name of the data model."},"folderId":{"type":"string","description":"The identifier of the folder in which the data model is located."}}},{"allOf":[{"type":"object","required":["schemaVersion"],"properties":{"schemaVersion":{"type":"number","enum":[1],"description":"The schema version used by this representation of the data model."}}},{"type":"object","properties":{"kind":{"type":"string","enum":["data-model"],"description":"Document kind. Informational field, ignored when creating or updating a document."}}},{"type":"object","required":["pages"],"properties":{"pages":{"type":"array","items":{"type":"object","required":["id","name","elements"],"properties":{"id":{"type":"string","description":"The identifier of the page in the data model."},"name":{"type":"string","description":"The name of the page."},"elements":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","kind","columns","source"],"properties":{"id":{"type":"string","description":"The identifier of the table."},"kind":{"type":"string","enum":["table"]},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The reference or calculation for the column."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Indicates whether or not the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the number specified in d3 format."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix to apply to the number."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The interval at which to use the digit grouping symbol."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date specified in d3 time format."}}}]}],"description":"The display format of the column."}}}]},"description":"The columns of the table and their formulas."},"source":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"}],"description":"The source of the table."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the table."},"description":{"type":"string","description":"The description of the table."},"metrics":{"type":"array","items":{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the metric."},"formula":{"type":"string","description":"The formula defining the metric."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the metric."},"description":{"type":"string","description":"The description of the metric."},"isHighlighted":{"type":"boolean","description":"Indicates whether or not the metric is highlighted."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the number specified in d3 format."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix to apply to the number."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The interval at which to use the digit grouping symbol."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date specified in d3 time format."}}}]}],"description":"The display format of the column."},"timeline":{"allOf":[{"type":"object","required":["dateColumnId"],"properties":{"dateColumnId":{"type":"string","description":"The column of date data used to create the metric timeline."}}},{"type":"object","properties":{"truncation":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The precision to truncate the date to."},"comparison":{"allOf":[{"type":"object","required":["comparisonPeriod"],"properties":{"comparisonPeriod":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time period to compare the current metric value against."}}},{"type":"object","properties":{"direction":{"oneOf":[{"type":"string","enum":["higher-is-better"]},{"type":"string","enum":["lower-is-better"]}],"description":"Indicates whether higher or lower comparison values are better for that metric."}}}],"description":"The time period to compare the current metric value against."}}}],"description":"The timeline configuration for the metric."}}}]},"description":"The metrics associated with this table and their configurations."},"metricFolders":{"type":"array","items":{"allOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"The identifier of the metric folder."},"name":{"type":"string","description":"The name of the metric folder."}}},{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"description":"The metric and sub-folder IDs contained within the folder, in display order."}}}]},"description":"The metric folders in the table and their contents."},"metricOrder":{"type":"array","items":{"type":"string"},"description":"A list of metric and metric-folder identifiers that determines display order."},"relationships":{"type":"array","items":{"allOf":[{"type":"object","required":["id","targetElementId","keys"],"properties":{"id":{"type":"string","description":"The identifier of the relationship."},"targetElementId":{"type":"string","description":"The identifier of the table joined to the parent table in the relationship."},"keys":{"type":"array","items":{"type":"object","required":["sourceColumnId","targetColumnId"],"properties":{"sourceColumnId":{"type":"string","description":"The column from the parent table joined in this relationship."},"targetColumnId":{"type":"string","description":"The column from the target table joined in this relationship."}}},"description":"The pairs of source and target column IDs joined in this relationship."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the relationship."},"description":{"type":"string","description":"The description of the relationship."},"relationshipType":{"oneOf":[{"type":"string","enum":["1:1"]},{"type":"string","enum":["1:N"]},{"type":"string","enum":["N:1"]}],"description":"[Private beta] The cardinality of the relationship."}}}]},"description":"The relationships sourced from this table and their targets."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Indicates whether or not the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 or relative format."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 or relative format."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The start date of the date range, in relative format. Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The end date of the date range, in relative format. Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values in the filter."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"Indicates the type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Indicates whether the text comparison is case 'sensitive' or 'insensitive'."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this table and their configurations."},"folders":{"type":"array","items":{"allOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"The identifier of the folder."},"name":{"type":"string","description":"The name of the folder."}}},{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"description":"The column and folder IDs contained within the folder."}}}]},"description":"The folders in the table and their contents."},"groupings":{"type":"array","items":{"allOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The identifier of the grouping."}}},{"type":"object","properties":{"groupBy":{"type":"array","items":{"type":"string"},"description":"The columns or folders that define the grouping."},"calculations":{"type":"array","items":{"type":"string"},"description":"The calculations applied to the grouping."}}}]},"description":"The groupings in the table and their contents."},"summary":{"type":"array","items":{"type":"string"},"description":"The identifiers of all columns in the table that are summaries."},"order":{"type":"array","items":{"type":"string"},"description":"A list of identifiers that determines the order in which columns and folders are displayed in the UI. Does not include summary columns."},"visibleAsSource":{"type":"boolean","description":"Indicates whether or not the table can be used as a source in other documents."},"sort":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The direction in which to sort."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"Indicates how the sort order treats null values."}}}]},"description":"The column, direction, and null behavior used to sort the rows of this table."},"columnSecurities":{"type":"array","items":{"type":"object","required":["id","restrictedColumns","criteria"],"properties":{"id":{"type":"string","description":"The identifier of the column security rule."},"restrictedColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns restricted by the column security rule."},"criteria":{"oneOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["no-one-can-view"]}},"description":"","title":"No One Can View"},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["specific-users-and-teams"]},"assignments":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","userId"],"properties":{"type":{"type":"string","enum":["user"]},"userId":{"type":"string","description":"The identifier of a Sigma user."}},"description":"","title":"User"},{"type":"object","required":["type","teamId"],"properties":{"type":{"type":"string","enum":["team"]},"teamId":{"type":"string","description":"The identifier of a team."}},"description":"","title":"Team"}]},"description":"The identifiers of the users and teams that can access the columns restricted by the column security rule."}},"description":"","title":"Specific Users and Teams"},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["user-attribute"]},"assignments":{"type":"array","items":{"type":"object","required":["userAttributeId","value"],"properties":{"userAttributeId":{"type":"string","description":"The identifier of a user attribute."},"value":{"type":"string","description":"The value for a user attribute."}}},"description":"The identifier of a user attribute and the value users must be assigned to view the columns restricted by the column security rule."}},"description":"","title":"User Attribute"}]}}},"description":"A list of the column security rules applied to columns in this table."},"uniqueKeys":{"type":"array","items":{"type":"string"},"description":"[Private beta] The identifiers of the columns that uniquely identify records in the table."}}}],"description":"","title":"Table"},{"oneOf":[{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["checkbox"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["True/False"]},{"type":"string","enum":["True/All"]}],"description":"The mode of the control."}}},{"type":"object","properties":{"value":{"type":"boolean","description":"The selected value in the control."}}}],"description":"","title":"Checkbox"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["switch"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["True/False"]},{"type":"string","enum":["True/All"]}],"description":"The mode of the control."}}},{"type":"object","properties":{"value":{"type":"boolean","description":"The selected value in the control."}}}],"description":"","title":"Switch"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["text"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"Indicates the type of text comparison to make."}}},{"type":"object","properties":{"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Indicates whether the text comparison is case 'sensitive' or 'insensitive'."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."},"showOperators":{"type":"boolean","description":"Indicates whether or not to display the control mode in the UI."},"value":{"type":"string","description":"The text entered in the control."}}}],"description":"","title":"Text"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["text-area"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"value":{"type":"string","description":"The text entered in the control."}}}],"description":"","title":"Text Area"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The operator used to filter numbers."}}},{"type":"object","properties":{"value":{"type":"number","description":"The number entered in the control."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Number"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["date"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The operator used to filter dates."}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The date selected in the control, in ISO 8601 or relative format."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Date"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["date-range"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 or relative format."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 or relative format."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The start date of the date range, in relative format. Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The end date of the date range, in relative format. Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["top-n"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"oneOf":[{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."}}},{"type":"object","required":["source"],"properties":{"source":{"allOf":[{"type":"object","required":["kind","source","columnId"],"properties":{"kind":{"type":"string","enum":["source"]},"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column used as a value source for the control."}}},{"type":"object","properties":{"displayColumnId":{"type":"string","description":"The identifier of the column containing display names for the control values."}}}]}}},{"oneOf":[{"allOf":[{"type":"object","required":["selectionMode"],"properties":{"selectionMode":{"type":"string","enum":["single"]}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}]},{"type":"object","properties":{"selectionMode":{"type":"string","enum":["multiple"]},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values in the filter."}}}]}]},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."}}},{"type":"object","properties":{"source":{"allOf":[{"type":"object","required":["kind","valueType"],"properties":{"kind":{"type":"string","enum":["manual"]},"valueType":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["date"]},{"type":"string","enum":["boolean"]}],"description":"The data type of the list values."}}},{"type":"object","properties":{"values":{"oneOf":[{"type":"array","items":{"type":"boolean"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"string","description":"","title":"Fixed Date"}}],"description":"The list of possible values in the control."},"labels":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The list of labels applied to the values in the control."}}}]}}},{"oneOf":[{"allOf":[{"type":"object","required":["selectionMode"],"properties":{"selectionMode":{"type":"string","enum":["single"]}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}]},{"type":"object","properties":{"selectionMode":{"type":"string","enum":["multiple"]},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values in the filter."}}}]}]}],"description":"","title":"List values"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["segmented"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"clearLabel":{"type":"string","description":"The text displayed for the clear option if showClearLabel is true."},"showClearLabel":{"type":"boolean","description":"Indicates whether or not to include a clear option in the control."},"source":{"oneOf":[{"allOf":[{"type":"object","required":["kind","valueType"],"properties":{"kind":{"type":"string","enum":["manual"]},"valueType":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["date"]},{"type":"string","enum":["boolean"]}],"description":"The data type of the list values."}}},{"type":"object","properties":{"values":{"oneOf":[{"type":"array","items":{"type":"boolean"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"string","description":"","title":"Fixed Date"}}],"description":"The list of possible values in the control."},"labels":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The list of labels applied to the values in the control."}}}],"description":"","title":"Manual"},{"allOf":[{"type":"object","required":["kind","source","columnId"],"properties":{"kind":{"type":"string","enum":["source"]},"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column used as a value source for the control."}}},{"type":"object","properties":{"displayColumnId":{"type":"string","description":"The identifier of the column containing display names for the control values."}}}],"description":"","title":"Source"}],"description":"The source of the possible values in the control."}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}],"description":"","title":"Segmented Control"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"source":{"type":"object","required":["source","columnId"],"properties":{"source":{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},"columnId":{"type":"string"}}},"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}}}}}],"description":"","title":"Hierarchy"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["slider"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The comparison operator used by the control."}}},{"type":"object","properties":{"low":{"type":"number","description":"The minimum value of the slider."},"high":{"type":"number","description":"The maximum value of the slider."},"step":{"type":"number","description":"The amount the slider increments by between steps."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"value":{"type":"number","description":"The number selected in the control."}}}],"description":"","title":"Slider"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["range-slider"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"low":{"type":"number","description":"The minimum value of the slider."},"high":{"type":"number","description":"The maximum value of the slider."},"step":{"type":"number","description":"The amount the slider increments by between steps."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Range Slider"}],"description":"","title":"Control"}]},"description":"The elements on the page."}}},"description":"The pages of the data model and their contents."}}}]},{"type":"object","properties":{"description":{"type":"string","description":"The description of the data model."}}}]},"UpdateDataModelSpec":{"allOf":[{"allOf":[{"type":"object","required":["schemaVersion"],"properties":{"schemaVersion":{"type":"number","enum":[1],"description":"The schema version used by this representation of the data model."}}},{"type":"object","properties":{"kind":{"type":"string","enum":["data-model"],"description":"Document kind. Informational field, ignored when creating or updating a document."}}},{"type":"object","required":["pages"],"properties":{"pages":{"type":"array","items":{"type":"object","required":["id","name","elements"],"properties":{"id":{"type":"string","description":"The identifier of the page in the data model."},"name":{"type":"string","description":"The name of the page."},"elements":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","kind","columns","source"],"properties":{"id":{"type":"string","description":"The identifier of the table."},"kind":{"type":"string","enum":["table"]},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The reference or calculation for the column."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Indicates whether or not the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the number specified in d3 format."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix to apply to the number."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The interval at which to use the digit grouping symbol."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date specified in d3 time format."}}}]}],"description":"The display format of the column."}}}]},"description":"The columns of the table and their formulas."},"source":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"}],"description":"The source of the table."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the table."},"description":{"type":"string","description":"The description of the table."},"metrics":{"type":"array","items":{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the metric."},"formula":{"type":"string","description":"The formula defining the metric."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the metric."},"description":{"type":"string","description":"The description of the metric."},"isHighlighted":{"type":"boolean","description":"Indicates whether or not the metric is highlighted."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the number specified in d3 format."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix to apply to the number."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The interval at which to use the digit grouping symbol."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date specified in d3 time format."}}}]}],"description":"The display format of the column."},"timeline":{"allOf":[{"type":"object","required":["dateColumnId"],"properties":{"dateColumnId":{"type":"string","description":"The column of date data used to create the metric timeline."}}},{"type":"object","properties":{"truncation":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The precision to truncate the date to."},"comparison":{"allOf":[{"type":"object","required":["comparisonPeriod"],"properties":{"comparisonPeriod":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time period to compare the current metric value against."}}},{"type":"object","properties":{"direction":{"oneOf":[{"type":"string","enum":["higher-is-better"]},{"type":"string","enum":["lower-is-better"]}],"description":"Indicates whether higher or lower comparison values are better for that metric."}}}],"description":"The time period to compare the current metric value against."}}}],"description":"The timeline configuration for the metric."}}}]},"description":"The metrics associated with this table and their configurations."},"metricFolders":{"type":"array","items":{"allOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"The identifier of the metric folder."},"name":{"type":"string","description":"The name of the metric folder."}}},{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"description":"The metric and sub-folder IDs contained within the folder, in display order."}}}]},"description":"The metric folders in the table and their contents."},"metricOrder":{"type":"array","items":{"type":"string"},"description":"A list of metric and metric-folder identifiers that determines display order."},"relationships":{"type":"array","items":{"allOf":[{"type":"object","required":["id","targetElementId","keys"],"properties":{"id":{"type":"string","description":"The identifier of the relationship."},"targetElementId":{"type":"string","description":"The identifier of the table joined to the parent table in the relationship."},"keys":{"type":"array","items":{"type":"object","required":["sourceColumnId","targetColumnId"],"properties":{"sourceColumnId":{"type":"string","description":"The column from the parent table joined in this relationship."},"targetColumnId":{"type":"string","description":"The column from the target table joined in this relationship."}}},"description":"The pairs of source and target column IDs joined in this relationship."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the relationship."},"description":{"type":"string","description":"The description of the relationship."},"relationshipType":{"oneOf":[{"type":"string","enum":["1:1"]},{"type":"string","enum":["1:N"]},{"type":"string","enum":["N:1"]}],"description":"[Private beta] The cardinality of the relationship."}}}]},"description":"The relationships sourced from this table and their targets."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Indicates whether or not the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 or relative format."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 or relative format."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The start date of the date range, in relative format. Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The end date of the date range, in relative format. Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values in the filter."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"Indicates the type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Indicates whether the text comparison is case 'sensitive' or 'insensitive'."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this table and their configurations."},"folders":{"type":"array","items":{"allOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"The identifier of the folder."},"name":{"type":"string","description":"The name of the folder."}}},{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"description":"The column and folder IDs contained within the folder."}}}]},"description":"The folders in the table and their contents."},"groupings":{"type":"array","items":{"allOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The identifier of the grouping."}}},{"type":"object","properties":{"groupBy":{"type":"array","items":{"type":"string"},"description":"The columns or folders that define the grouping."},"calculations":{"type":"array","items":{"type":"string"},"description":"The calculations applied to the grouping."}}}]},"description":"The groupings in the table and their contents."},"summary":{"type":"array","items":{"type":"string"},"description":"The identifiers of all columns in the table that are summaries."},"order":{"type":"array","items":{"type":"string"},"description":"A list of identifiers that determines the order in which columns and folders are displayed in the UI. Does not include summary columns."},"visibleAsSource":{"type":"boolean","description":"Indicates whether or not the table can be used as a source in other documents."},"sort":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The direction in which to sort."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"Indicates how the sort order treats null values."}}}]},"description":"The column, direction, and null behavior used to sort the rows of this table."},"columnSecurities":{"type":"array","items":{"type":"object","required":["id","restrictedColumns","criteria"],"properties":{"id":{"type":"string","description":"The identifier of the column security rule."},"restrictedColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns restricted by the column security rule."},"criteria":{"oneOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["no-one-can-view"]}},"description":"","title":"No One Can View"},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["specific-users-and-teams"]},"assignments":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","userId"],"properties":{"type":{"type":"string","enum":["user"]},"userId":{"type":"string","description":"The identifier of a Sigma user."}},"description":"","title":"User"},{"type":"object","required":["type","teamId"],"properties":{"type":{"type":"string","enum":["team"]},"teamId":{"type":"string","description":"The identifier of a team."}},"description":"","title":"Team"}]},"description":"The identifiers of the users and teams that can access the columns restricted by the column security rule."}},"description":"","title":"Specific Users and Teams"},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["user-attribute"]},"assignments":{"type":"array","items":{"type":"object","required":["userAttributeId","value"],"properties":{"userAttributeId":{"type":"string","description":"The identifier of a user attribute."},"value":{"type":"string","description":"The value for a user attribute."}}},"description":"The identifier of a user attribute and the value users must be assigned to view the columns restricted by the column security rule."}},"description":"","title":"User Attribute"}]}}},"description":"A list of the column security rules applied to columns in this table."},"uniqueKeys":{"type":"array","items":{"type":"string"},"description":"[Private beta] The identifiers of the columns that uniquely identify records in the table."}}}],"description":"","title":"Table"},{"oneOf":[{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["checkbox"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["True/False"]},{"type":"string","enum":["True/All"]}],"description":"The mode of the control."}}},{"type":"object","properties":{"value":{"type":"boolean","description":"The selected value in the control."}}}],"description":"","title":"Checkbox"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["switch"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["True/False"]},{"type":"string","enum":["True/All"]}],"description":"The mode of the control."}}},{"type":"object","properties":{"value":{"type":"boolean","description":"The selected value in the control."}}}],"description":"","title":"Switch"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["text"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"Indicates the type of text comparison to make."}}},{"type":"object","properties":{"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Indicates whether the text comparison is case 'sensitive' or 'insensitive'."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."},"showOperators":{"type":"boolean","description":"Indicates whether or not to display the control mode in the UI."},"value":{"type":"string","description":"The text entered in the control."}}}],"description":"","title":"Text"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["text-area"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"value":{"type":"string","description":"The text entered in the control."}}}],"description":"","title":"Text Area"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The operator used to filter numbers."}}},{"type":"object","properties":{"value":{"type":"number","description":"The number entered in the control."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Number"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["date"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The operator used to filter dates."}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The date selected in the control, in ISO 8601 or relative format."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Date"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["date-range"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Indicates whether or not to include the current date."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 or relative format."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 or relative format."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The start date of the date range, in relative format. Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Indicates whether to filter for the relative range before or after the date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago' or 'in x units'."}},"description":"The end date of the date range, in relative format. Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["top-n"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The type of ranking this filter uses."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Indicates whether to filter top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"oneOf":[{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."}}},{"type":"object","required":["source"],"properties":{"source":{"allOf":[{"type":"object","required":["kind","source","columnId"],"properties":{"kind":{"type":"string","enum":["source"]},"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column used as a value source for the control."}}},{"type":"object","properties":{"displayColumnId":{"type":"string","description":"The identifier of the column containing display names for the control values."}}}]}}},{"oneOf":[{"allOf":[{"type":"object","required":["selectionMode"],"properties":{"selectionMode":{"type":"string","enum":["single"]}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}]},{"type":"object","properties":{"selectionMode":{"type":"string","enum":["multiple"]},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values in the filter."}}}]}]},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."}}},{"type":"object","properties":{"source":{"allOf":[{"type":"object","required":["kind","valueType"],"properties":{"kind":{"type":"string","enum":["manual"]},"valueType":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["date"]},{"type":"string","enum":["boolean"]}],"description":"The data type of the list values."}}},{"type":"object","properties":{"values":{"oneOf":[{"type":"array","items":{"type":"boolean"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"string","description":"","title":"Fixed Date"}}],"description":"The list of possible values in the control."},"labels":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The list of labels applied to the values in the control."}}}]}}},{"oneOf":[{"allOf":[{"type":"object","required":["selectionMode"],"properties":{"selectionMode":{"type":"string","enum":["single"]}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}]},{"type":"object","properties":{"selectionMode":{"type":"string","enum":["multiple"]},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values in the filter."}}}]}]}],"description":"","title":"List values"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["segmented"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"clearLabel":{"type":"string","description":"The text displayed for the clear option if showClearLabel is true."},"showClearLabel":{"type":"boolean","description":"Indicates whether or not to include a clear option in the control."},"source":{"oneOf":[{"allOf":[{"type":"object","required":["kind","valueType"],"properties":{"kind":{"type":"string","enum":["manual"]},"valueType":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["date"]},{"type":"string","enum":["boolean"]}],"description":"The data type of the list values."}}},{"type":"object","properties":{"values":{"oneOf":[{"type":"array","items":{"type":"boolean"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"string","description":"","title":"Fixed Date"}}],"description":"The list of possible values in the control."},"labels":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The list of labels applied to the values in the control."}}}],"description":"","title":"Manual"},{"allOf":[{"type":"object","required":["kind","source","columnId"],"properties":{"kind":{"type":"string","enum":["source"]},"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column used as a value source for the control."}}},{"type":"object","properties":{"displayColumnId":{"type":"string","description":"The identifier of the column containing display names for the control values."}}}],"description":"","title":"Source"}],"description":"The source of the possible values in the control."}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}],"description":"","title":"Segmented Control"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"source":{"type":"object","required":["source","columnId"],"properties":{"source":{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},"columnId":{"type":"string"}}},"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Indicates whether to 'include' or 'exclude' the list of values."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}}}}}],"description":"","title":"Hierarchy"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["slider"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The comparison operator used by the control."}}},{"type":"object","properties":{"low":{"type":"number","description":"The minimum value of the slider."},"high":{"type":"number","description":"The maximum value of the slider."},"step":{"type":"number","description":"The amount the slider increments by between steps."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"value":{"type":"number","description":"The number selected in the control."}}}],"description":"","title":"Slider"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["range-slider"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the control"},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"type":"object","required":["connectionId","kind","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["warehouse-table"]},"path":{"type":"array","items":{"type":"string"},"description":"The path of the table in the data platform."}},"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The source targeted by this control."},"columnId":{"type":"string","description":"The column targeted by this control."}}},"description":"The filter targets of the control"},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this control targets and overrides."}}},{"type":"object","properties":{"low":{"type":"number","description":"The minimum value of the slider."},"high":{"type":"number","description":"The maximum value of the slider."},"step":{"type":"number","description":"The amount the slider increments by between steps."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"Indicates when to include null values."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Range Slider"}],"description":"","title":"Control"}]},"description":"The elements on the page."}}},"description":"The pages of the data model and their contents."}}}]},{"type":"object","properties":{"documentVersion":{"type":"number","description":"When provided, update only if the data model is still at this document version."}}}]},"ParamShapeNode":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"string","enum":["string"]}}}},{"type":"object","required":["type"],"properties":{"type":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"string","enum":["number"]}}}},{"type":"object","required":["type"],"properties":{"type":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"string","enum":["boolean"]}}}},{"type":"object","required":["type","properties"],"properties":{"type":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"string","enum":["object"]}},"properties":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ParamShapeNode"}}}},{"type":"object","required":["type","items"],"properties":{"type":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"string","enum":["array"]}},"items":{"$ref":"#/components/schemas/ParamShapeNode"}}},{"type":"object","required":[],"properties":{}}]},"AiEmbeddedModel":{"oneOf":[{"$ref":"#/components/schemas/AiSnowflakeEmbeddedModel"},{"$ref":"#/components/schemas/AiBigQueryEmbeddedModel"},{"$ref":"#/components/schemas/AiDatabricksEmbeddedModel"},{"$ref":"#/components/schemas/AiOpenAiEmbeddedModel"},{"$ref":"#/components/schemas/AiGeminiEmbeddedModel"}]},"AiSnowflakeEmbeddedModel":{"type":"object","required":["provider","connectionId"],"properties":{"provider":{"type":"string","enum":["snowflake"],"description":""},"connectionId":{"type":"string","description":"ID of the connection to use as an AI provider."}}},"AiBigQueryEmbeddedModel":{"allOf":[{"type":"object","required":["provider","connectionId"],"properties":{"provider":{"type":"string","enum":["bigquery"],"description":""},"connectionId":{"type":"string","description":"ID of the connection to use as an AI provider."}}},{"type":"object","properties":{"region":{"type":"string","description":"For a BigQuery connection, Vertex AI location for the project. Defaults to `us-central1`."}}}]},"AiDatabricksEmbeddedModel":{"type":"object","required":["provider","connectionId"],"properties":{"provider":{"type":"string","enum":["databricks"],"description":""},"connectionId":{"type":"string","description":"ID of the connection to use as an AI provider."}}},"AiOpenAiEmbeddedModel":{"type":"object","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["openAI"],"description":""},"apiKey":{"type":"string","description":"OpenAI API key."}}},"AiGeminiEmbeddedModel":{"type":"object","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["gemini"],"description":""},"apiKey":{"type":"string","description":"Gemini API key."}}},"AiAzureEmbeddedModel":{"allOf":[{"type":"object","required":["provider"],"properties":{"provider":{"type":"string","enum":["azureOpenAI"],"description":""}}},{"type":"object","required":["deploymentId","endpointURL","apiKey"],"properties":{"deploymentId":{"type":"string","description":"Azure OpenAI deployment ID."},"endpointURL":{"type":"string","description":"Azure OpenAI endpoint URL."},"apiKey":{"type":"string","description":"Azure OpenAI API key."}}}]},"AiEmbeddedModelRes":{"oneOf":[{"type":"object","required":["provider","connectionId"],"properties":{"provider":{"type":"string","enum":["snowflake"],"description":""},"connectionId":{"type":"string","description":"ID of the connection to use as an AI provider."}},"description":"","title":"Snowflake"},{"type":"object","required":["provider","connectionId"],"properties":{"provider":{"type":"string","enum":["bigquery"],"description":""},"connectionId":{"type":"string","description":"ID of the connection to use as an AI provider."}},"description":"","title":"BigQuery"},{"type":"object","required":["provider","connectionId"],"properties":{"provider":{"type":"string","enum":["databricks"],"description":""},"connectionId":{"type":"string","description":"ID of the connection to use as an AI provider."}},"description":"","title":"Databricks"},{"type":"object","required":["provider"],"properties":{"provider":{"type":"string","enum":["openAI"],"description":""}},"description":"","title":"OpenAI"},{"type":"object","required":["provider"],"properties":{"provider":{"type":"string","enum":["gemini"],"description":""}},"description":"","title":"Gemini"}]},"CommonElement":{"oneOf":[{"oneOf":[{"allOf":[{"$ref":"#/components/schemas/Table"}],"title":"Table"},{"allOf":[{"type":"object","required":["id","kind","source","columns","value"],"properties":{"id":{"type":"string","description":"The identifier of the KPI."},"kind":{"type":"string","enum":["kpi-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the KPI."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}}]}]},"description":"The columns that calculate the KPI's value and optional comparison."},"value":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column that specifies the KPI value."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the KPI value number is shown. Set to `hidden` to hide it. Only applies when a comparison is configured."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the value."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size of the value, in pixels. Defaults to `auto`."}}}],"description":"The column used for the KPI's primary value, plus optional styling."}}},{"type":"object","properties":{"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The title font size in pixels, or `auto` to size automatically."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The title font size in pixels, or `auto` to size automatically."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size of the description, in pixels. Specify `auto` to size it automatically."}},"description":"The description of the KPI and its styling."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"layout":{"type":"object","properties":{"anchor":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the KPI within its container."},"verticalAnchor":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment."},"titleOrient":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["bottom"]}],"description":"The title position relative to the KPI value. Defaults to `top`."},"comparisonValueOrient":{"oneOf":[{"type":"string","enum":["right"]},{"type":"string","enum":["below"]}],"description":"The comparison value position."}},"description":"The alignment, title position, and comparison position for the KPI."},"comparison":{"type":"object","properties":{"display":{"oneOf":[{"type":"string","enum":["percentage"]},{"type":"string","enum":["delta"]},{"type":"string","enum":["relative"]},{"type":"string","enum":["absolute"]}],"description":"The display format for the comparison. Defaults to `percentage`."},"direction":{"oneOf":[{"type":"string","enum":["higher"]},{"type":"string","enum":["lower"]},{"type":"string","enum":["none"]}],"description":"The comparison direction. One of `higher` (higher is better), `lower` (lower is better), or `none`."},"colorGood":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"colorNeutral":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"colorBad":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"arrow":{"type":"string","enum":["hidden"],"description":"Hide the comparison arrow. Omit when shown."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The comparison font size in pixels, or `auto`."},"label":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"string"}],"description":"The comparison label text. Set to `hidden` to hide the label."},"labelColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"noDateText":{"type":"string","description":"The label shown when the comparison date is invalid. Defaults to `Invalid date`."}},"description":"The comparison formatting for the KPI."},"trend":{"type":"object","properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the trend sparkline. Omit to show."},"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["area"]}],"description":"The trend shape. Defaults to `line` when a comparison is configured, otherwise `area`."},"areaStyle":{"oneOf":[{"type":"string","enum":["gradient"]},{"type":"string","enum":["solid"]}],"description":"The area fill style for the trend line. Only applies when shape is `area`."},"valueColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"comparisonColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"tooltip":{"type":"string","enum":["shown"],"description":"Set to `shown` to explicitly enable a feature whose default is off."},"xAxis":{"type":"string","enum":["shown"],"description":"Set to `shown` to explicitly enable a feature whose default is off."},"yAxis":{"type":"string","enum":["shown"],"description":"Set to `shown` to explicitly enable a feature whose default is off."},"noDataText":{"type":"string","description":"Label shown when the trend has no data."}},"description":"The sparkline display options for the KPI chart."},"timeline":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The date or time column that defines the timeline for the trend sparkline."}},"description":"The date column on the KPI timeline, enabling the trend sparkline. Set `columnId` to a column declared on the chart. Required by `periodComparison`."},"periodComparison":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The period used for a period-over-period comparison. Requires a timeline column. Cannot be specified if `comparisonColumn` is specified."},"comparisonColumn":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The identifier of the column used for the KPI comparison."}},"description":"The column to compare the primary value against. Cannot be specified if `periodComparison` is specified."},"refMarks":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["type","axis","value"],"properties":{"type":{"type":"string","enum":["line"],"description":"A reference line marking a single value on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The position of the reference line on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference line, including style, width, and color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]},{"allOf":[{"type":"object","required":["type","axis","value","endValue"],"properties":{"type":{"type":"string","enum":["band"],"description":"A reference band marking a range between two values on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The start position of the reference band on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."},"endValue":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"Band end position (constant, column aggregation, or formula)."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether a line outlining the reference band is shown. Set to `shown` to display it."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference band line, including style, width, and color."},"fill":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The fill color of the reference band. A hex code, `rgb()` value, or theme reference."}},"description":"The band fill color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]}]},"description":"Reference lines and bands on the chart."},"conditionalFormats":{"type":"array","items":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","formula"],"properties":{"condition":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula for a conditional formatting rule. Can reference any column in the element. Must return a boolean."}}}]},{"type":"object","properties":{"style":{"type":"object","properties":{"color":{"type":"string","description":"The font color, as a hex code."}}}}}]},"description":"Single-color conditional formatting rules applied to the KPI value. Order matters; only the first matching rule applies."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"KPI"},{"allOf":[{"type":"object","required":["id","kind","source","columns","yAxis"],"properties":{"id":{"type":"string","description":"The identifier of the bar chart."},"kind":{"type":"string","enum":["bar-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the bar chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}},{"type":"object","properties":{"showOnSegments":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether data label segments are shown. Defaults to `hidden`. Requires a stacked bar chart with color by category, color by scale, or multiple y-axis series."},"showOnTotals":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the total data label is shown. Defaults to `shown`. Requires a stacked bar chart with color by category, color by scale, or multiple y-axis series."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}},{"type":"object","properties":{"showOnSegments":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether data label segments are shown. Defaults to `hidden`. Requires a stacked bar chart with color by category, color by scale, or multiple y-axis series."},"showOnTotals":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the total data label is shown. Defaults to `shown`. Requires a stacked bar chart with color by category, color by scale, or multiple y-axis series."}}}]}]},"description":"The columns used by the bar chart."},"yAxis":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"oneOf":[{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."},{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."}}},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["bar"]},{"type":"string","enum":["line"]},{"type":"string","enum":["area"]},{"type":"string","enum":["scatter"]}],"description":"The chart shape for this series. Defaults to `bar`."}}}]}]},"description":"The column IDs for the Y-axis series. Lists every series on the chart, including those assigned to the secondary axis by `yAxis2`."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The Y-axis formatting, including title, labels, marks, and scale."}}}],"description":"The columns used for the Y-axis."}}},{"type":"object","properties":{"xAxis":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for the X-axis."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order."},"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The X-axis formatting, including title, labels, marks, and scale."}}}],"description":"The column used for the X-axis."},"yAxis2":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string","description":"The identifier of a column for a series on the secondary Y-axis. Must also appear on `yAxis.columnIds`."},"description":"The column IDs for series measured against the secondary Y-axis. Each must also appear on `yAxis.columnIds`. `yAxis2` selects which of the chart's series use the secondary scale, it does not declare new ones. Series shape comes from the `type` on the matching `yAxis` entry."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The secondary Y-axis formatting, including title, labels, scale, and axis mark spacing."}}}],"description":"Which series use the secondary Y-axis scale and its axis formatting."},"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["top"]},{"type":"string","enum":["right"]},{"type":"string","enum":["bottom"]},{"type":"string","enum":["left"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position. Defaults to `auto`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"colorLegend":{"type":"string","enum":["hidden"],"description":"Whether the color legend is shown when both a color and a size legend would show. Only applies on a scatter chart."},"sizeLegend":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the size legend when a size channel is present. Only applies on a scatter chart."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"Legend visibility, position, and label styling."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Tooltip display options for the chart."},"label":{"type":"array","items":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},"description":"Label encoding — custom data label fields (Marks shelf Label tab). Each id references a column in `columns`. Not the Data labels format section."},"stacking":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["stacked"]},{"type":"string","enum":["normalized"]}],"description":"The stacking mode for the chart. Defaults to `stacked`."},"orientation":{"type":"string","enum":["horizontal"],"description":"Bar orientation. Set to `horizontal` to display horizontal bars. Omit to display vertical bars."},"barStyle":{"type":"object","properties":{"cornerRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The bar corner shape. Defaults to `square`."}},"description":"The bar corner shape. Defaults to `square`."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"The color configuration for chart marks. One of single hex, categorical column, or continuous gradient."},"conditionalFormats":{"type":"array","items":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","formula"],"properties":{"condition":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula for a conditional formatting rule. Can reference any column in the element. Must return a boolean."}}}]},{"type":"object","properties":{"style":{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string","enum":["none"]}],"description":"The cell background color as a hex code, or `none` for no fill. Omit to use the default highlight."}}}}}]},"description":"Single-color conditional formatting rules applied to chart marks. Order matters; only the first matching rule applies."},"dataLabel":{"type":"object","properties":{"anchor":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["end"]},{"type":"string","enum":["middle"]},{"type":"string","enum":["outside-end"]},{"type":"string","enum":["start"]}],"description":"Position of the data label relative to its mark."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["min-max"]},{"type":"string","enum":["all"]}],"description":"Which values and labels to show on each bar segment label."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"orient":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["horizontal"]},{"type":"string","enum":["vertical"]}],"description":"Text direction for data labels."},"precision":{"type":"number","description":"The number of decimal places when labels include percentages."},"showStroke":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"The stroke (outline) around data labels."},"totals":{"type":"object","properties":{"display":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"fontSize":{"type":"number","description":"The font size for total labels, in pixels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["min-max"]},{"type":"string","enum":["all"]}],"description":"Which aggregate total labels appear on the bars. Defaults to `auto`."},"orient":{"oneOf":[{"type":"string","enum":["horizontal"]},{"type":"string","enum":["vertical"]}],"description":"The text direction for total labels."}},"description":"The aggregate total label options for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"Whether numeric values are shown as percentages or as plain numbers."}},"description":"Data label typography, placement, and display options."},"gap":{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The spacing between bars (gap width) within each category group."},"betweenSets":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The size preset for the gap between groups of bars. Requires clustered bar sets, from a color by category or color by scale, or multiple bar series with clustered stacking. Defaults to `auto`."}},"description":"The gap width between bars and between clustered bar sets."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"backgroundImage":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The URL of the background image. Supports `{{dynamic-text}}` formula references."}},"description":"The chart background image. The URL supports dynamic `{{formula}}` text."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"refMarks":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["type","axis","value"],"properties":{"type":{"type":"string","enum":["line"],"description":"A reference line marking a single value on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The position of the reference line on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference line, including style, width, and color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]},{"allOf":[{"type":"object","required":["type","axis","value","endValue"],"properties":{"type":{"type":"string","enum":["band"],"description":"A reference band marking a range between two values on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The start position of the reference band on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."},"endValue":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"Band end position (constant, column aggregation, or formula)."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether a line outlining the reference band is shown. Set to `shown` to display it."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference band line, including style, width, and color."},"fill":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The fill color of the reference band. A hex code, `rgb()` value, or theme reference."}},"description":"The band fill color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]}]},"description":"Reference lines and bands on the chart."},"trellis":{"type":"object","properties":{"columnsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis columns. At most one entry."},"column":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis column."},"row":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis row."},"rowsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis rows. At most one entry."},"series":{"oneOf":[{"type":"string","enum":["row"]},{"type":"string","enum":["column"]}],"description":"Display each series in its own chart, arranged as a row or column of panels. Cannot be specified if `rowsBy` or `columnsBy` is specified. Not supported for every chart kind."},"share":{"type":"object","properties":{"color-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one color legend across the grid or each panel gets its own. Defaults to `shared`."},"size-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Size legend display options for the trellis."},"x-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one category-axis scale or each scales to its own data. Defaults to `shared`. This is the category axis even when chart orientation renders it vertically."},"y-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one series-axis (value) scale or each scales to its own data. Defaults to `shared`. This is the series axis even when chart orientation renders it horizontally."},"y-axis-2":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share the secondary series-axis scale. Defaults to `shared`. Combo charts with a second value axis only."}},"description":"The scales and legends shared across trellis panels."},"tileSize":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["compact"]}],"description":"The size of charts in a trellis grid. Defaults to `auto` for category trellis, `compact` for trellis by series."}},"description":"Trellis configuration for the chart."},"trendlines":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","model"],"properties":{"columnId":{"type":"string","description":"The Y-axis column to fit the trend line to."},"model":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["quadratic"]},{"type":"string","enum":["polynomial"]},{"type":"string","enum":["exponential"]},{"type":"string","enum":["logarithmic"]},{"type":"string","enum":["power"]}],"description":"Regression model for the trend line."}}},{"type":"object","properties":{"degree":{"type":"number","description":"The polynomial order of the regression fit, from 3 to 7. Defaults to `3`. Only applies when `model` is `polynomial`."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The line style, width, and color for the trend line."},"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"value":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"The regression fit value (R²) drawn on the chart. Set `visibility` to `shown`, or omit the block to hide it."},"equation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"Regression equation. Omit the block to hide the equation."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"The position of the label and computed-value annotation for the trend line."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The label and value display options for the trend line."}}}]},"description":"The regression trend lines for the chart. Each trend line applies to a column plotted on the Y-axis."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Bar Chart"},{"oneOf":[{"allOf":[{"type":"object","required":["id","kind","source","columns","color","value"],"properties":{"id":{"type":"string","description":"The identifier of the pie chart."},"kind":{"type":"string","enum":["pie-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the chart."},"color":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}],"description":"The column used to split the donut into slices. Optionally sets a palette scheme and per-value color overrides."},"value":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"The column for the slice size."}}},{"type":"object","properties":{"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"dataLabel":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"donutLabelDisplay":{"oneOf":[{"type":"string","enum":["as-label"]},{"type":"string","enum":["on-legend"]}],"description":"Whether donut or pie slice labels appear on the slice or in the legend."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["color"]},{"type":"string","enum":["value"]},{"type":"string","enum":["percent"]},{"type":"string","enum":["color-value"]},{"type":"string","enum":["color-percent"]},{"type":"string","enum":["value-percent"]},{"type":"string","enum":["all"]}],"description":"Which values and labels to show on each slice label."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"precision":{"type":"number","description":"The number of decimal places when labels include percentages."}},"description":"Data label typography, placement, and display options for slice values."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["top"]},{"type":"string","enum":["right"]},{"type":"string","enum":["bottom"]},{"type":"string","enum":["left"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position. Defaults to `auto`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"colorLegend":{"type":"string","enum":["hidden"],"description":"Whether the color legend is shown when both a color and a size legend would show. Only applies on a scatter chart."},"sizeLegend":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the size legend when a size channel is present. Only applies on a scatter chart."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"Legend visibility, position, and label styling."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Tooltip display options for the chart."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}}]},{"allOf":[{"type":"object","required":["id","kind","source","columns","color","value"],"properties":{"id":{"type":"string","description":"The identifier of the donut chart."},"kind":{"type":"string","enum":["donut-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the chart."},"color":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}],"description":"The column used to split the donut into slices. Optionally sets a palette scheme and per-value color overrides."},"value":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"The column for the slice size."}}},{"type":"object","properties":{"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"dataLabel":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"donutLabelDisplay":{"oneOf":[{"type":"string","enum":["as-label"]},{"type":"string","enum":["on-legend"]}],"description":"Whether donut or pie slice labels appear on the slice or in the legend."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["color"]},{"type":"string","enum":["value"]},{"type":"string","enum":["percent"]},{"type":"string","enum":["color-value"]},{"type":"string","enum":["color-percent"]},{"type":"string","enum":["value-percent"]},{"type":"string","enum":["all"]}],"description":"Which values and labels to show on each slice label."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"precision":{"type":"number","description":"The number of decimal places when labels include percentages."}},"description":"Data label typography, placement, and display options for slice values."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["top"]},{"type":"string","enum":["right"]},{"type":"string","enum":["bottom"]},{"type":"string","enum":["left"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position. Defaults to `auto`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"colorLegend":{"type":"string","enum":["hidden"],"description":"Whether the color legend is shown when both a color and a size legend would show. Only applies on a scatter chart."},"sizeLegend":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the size legend when a size channel is present. Only applies on a scatter chart."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"Legend visibility, position, and label styling."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Tooltip display options for the chart."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."},"holeValue":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"Optional column for the donut hole KPI value."},"hole":{"type":"object","properties":{"value":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the donut hole value is shown. Defaults to `shown`."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"The font size of the donut hole value, in pixels."}}},"title":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the donut hole title is shown. Defaults to `shown`."},"text":{"type":"string","description":"The text of the donut hole title. Cannot be set when the title is hidden."},"wrap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The text wrap behavior. `shown` wraps to multiple lines, and `hidden` truncates to one line."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"The font size of the donut hole title, in pixels."},"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["bottom"]}],"description":"The position of the donut hole title."}}}},"description":"The title and value styling for the donut hole center."},"innerRadius":{"type":"number","description":"Donut hole size as a ratio of the outer radius. Must be between `0.4` and `0.8`. Defaults to `0.6`."},"trellis":{"type":"object","properties":{"columnsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis columns. At most one entry."},"column":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis column."},"row":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis row."},"rowsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis rows. At most one entry."},"series":{"oneOf":[{"type":"string","enum":["row"]},{"type":"string","enum":["column"]}],"description":"Display each series in its own chart, arranged as a row or column of panels. Cannot be specified if `rowsBy` or `columnsBy` is specified. Not supported for every chart kind."},"share":{"type":"object","properties":{"color-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one color legend across the grid or each panel gets its own. Defaults to `shared`."},"size-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Size legend display options for the trellis."},"x-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one category-axis scale or each scales to its own data. Defaults to `shared`. This is the category axis even when chart orientation renders it vertically."},"y-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one series-axis (value) scale or each scales to its own data. Defaults to `shared`. This is the series axis even when chart orientation renders it horizontally."},"y-axis-2":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share the secondary series-axis scale. Defaults to `shared`. Combo charts with a second value axis only."}},"description":"The scales and legends shared across trellis panels."},"tileSize":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["compact"]}],"description":"The size of charts in a trellis grid. Defaults to `auto` for category trellis, `compact` for trellis by series."}},"description":"Trellis configuration for the chart."}}}]}],"description":"","title":"Donut/Pie Chart"},{"allOf":[{"type":"object","required":["id","kind","source","columns","yAxis"],"properties":{"id":{"type":"string","description":"The identifier of the line chart."},"kind":{"type":"string","enum":["line-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the line chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the line chart."},"yAxis":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"oneOf":[{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."},{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."}}},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["bar"]},{"type":"string","enum":["line"]},{"type":"string","enum":["area"]},{"type":"string","enum":["scatter"]}],"description":"The chart shape for this series. Defaults to `bar`."}}}]}]},"description":"The column IDs for the Y-axis series. Lists every series on the chart, including those assigned to the secondary axis by `yAxis2`."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The Y-axis formatting, including title, labels, marks, and scale."}}}],"description":"The columns used for the Y-axis."}}},{"type":"object","properties":{"xAxis":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for the X-axis."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order."},"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The X-axis formatting, including title, labels, marks, and scale."}}}],"description":"The column used for the X-axis."},"yAxis2":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string","description":"The identifier of a column for a series on the secondary Y-axis. Must also appear on `yAxis.columnIds`."},"description":"The column IDs for series measured against the secondary Y-axis. Each must also appear on `yAxis.columnIds`. `yAxis2` selects which of the chart's series use the secondary scale, it does not declare new ones. Series shape comes from the `type` on the matching `yAxis` entry."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The secondary Y-axis formatting, including title, labels, scale, and axis mark spacing."}}}],"description":"Which series use the secondary Y-axis scale and its axis formatting."},"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["top"]},{"type":"string","enum":["right"]},{"type":"string","enum":["bottom"]},{"type":"string","enum":["left"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position. Defaults to `auto`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"colorLegend":{"type":"string","enum":["hidden"],"description":"Whether the color legend is shown when both a color and a size legend would show. Only applies on a scatter chart."},"sizeLegend":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the size legend when a size channel is present. Only applies on a scatter chart."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"Legend visibility, position, and label styling."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Tooltip display options for the chart."},"label":{"type":"array","items":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},"description":"Label encoding — custom data label fields (Marks shelf Label tab). Each id references a column in `columns`. Not the Data labels format section."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"The color configuration for chart marks. One of single hex, categorical column, or continuous gradient."},"dataLabel":{"type":"object","properties":{"clearance":{"oneOf":[{"type":"string","enum":["separated"]},{"type":"string","enum":["default"]}],"description":"Spacing between data labels and neighboring marks when labels could overlap lines or areas. Either `separated` to offset labels clear of the mark, or `default`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["min-max"]},{"type":"string","enum":["endpoints"]},{"type":"string","enum":["most-recent"]},{"type":"string","enum":["all-points"]}],"description":"Which values and labels to show on each line point label."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."}},"description":"Data label typography, placement, and display options."},"lineAreaStyle":{"type":"object","properties":{"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the area line is shown. Defaults to `shown` for layered area charts and `hidden` otherwise."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"Line stroke and area outline visibility."},"points":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether points are shown. Defaults to `shown`. `shape` and `size` cannot be set when `hidden`."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}},"description":"The points on the series. Configure shape, size, and visibility."}},"description":"The line interpolation, stroke style, point markers, and null handling for the series."},"backgroundImage":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The URL of the background image. Supports `{{dynamic-text}}` formula references."}},"description":"The chart background image. The URL supports dynamic `{{formula}}` text."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"refMarks":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["type","axis","value"],"properties":{"type":{"type":"string","enum":["line"],"description":"A reference line marking a single value on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The position of the reference line on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference line, including style, width, and color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]},{"allOf":[{"type":"object","required":["type","axis","value","endValue"],"properties":{"type":{"type":"string","enum":["band"],"description":"A reference band marking a range between two values on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The start position of the reference band on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."},"endValue":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"Band end position (constant, column aggregation, or formula)."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether a line outlining the reference band is shown. Set to `shown` to display it."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference band line, including style, width, and color."},"fill":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The fill color of the reference band. A hex code, `rgb()` value, or theme reference."}},"description":"The band fill color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]}]},"description":"Reference lines and bands on the chart."},"trellis":{"type":"object","properties":{"columnsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis columns. At most one entry."},"column":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis column."},"row":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis row."},"rowsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis rows. At most one entry."},"series":{"oneOf":[{"type":"string","enum":["row"]},{"type":"string","enum":["column"]}],"description":"Display each series in its own chart, arranged as a row or column of panels. Cannot be specified if `rowsBy` or `columnsBy` is specified. Not supported for every chart kind."},"share":{"type":"object","properties":{"color-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one color legend across the grid or each panel gets its own. Defaults to `shared`."},"size-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Size legend display options for the trellis."},"x-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one category-axis scale or each scales to its own data. Defaults to `shared`. This is the category axis even when chart orientation renders it vertically."},"y-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one series-axis (value) scale or each scales to its own data. Defaults to `shared`. This is the series axis even when chart orientation renders it horizontally."},"y-axis-2":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share the secondary series-axis scale. Defaults to `shared`. Combo charts with a second value axis only."}},"description":"The scales and legends shared across trellis panels."},"tileSize":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["compact"]}],"description":"The size of charts in a trellis grid. Defaults to `auto` for category trellis, `compact` for trellis by series."}},"description":"Trellis configuration for the chart."},"trendlines":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","model"],"properties":{"columnId":{"type":"string","description":"The Y-axis column to fit the trend line to."},"model":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["quadratic"]},{"type":"string","enum":["polynomial"]},{"type":"string","enum":["exponential"]},{"type":"string","enum":["logarithmic"]},{"type":"string","enum":["power"]}],"description":"Regression model for the trend line."}}},{"type":"object","properties":{"degree":{"type":"number","description":"The polynomial order of the regression fit, from 3 to 7. Defaults to `3`. Only applies when `model` is `polynomial`."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The line style, width, and color for the trend line."},"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"value":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"The regression fit value (R²) drawn on the chart. Set `visibility` to `shown`, or omit the block to hide it."},"equation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"Regression equation. Omit the block to hide the equation."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"The position of the label and computed-value annotation for the trend line."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The label and value display options for the trend line."}}}]},"description":"The regression trend lines for the chart. Each trend line applies to a column plotted on the Y-axis."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Line Chart"},{"allOf":[{"type":"object","required":["id","kind","source","columns","yAxis"],"properties":{"id":{"type":"string","description":"The identifier of the area chart."},"kind":{"type":"string","enum":["area-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the area chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the area chart."},"yAxis":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"oneOf":[{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."},{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."}}},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["bar"]},{"type":"string","enum":["line"]},{"type":"string","enum":["area"]},{"type":"string","enum":["scatter"]}],"description":"The chart shape for this series. Defaults to `bar`."}}}]}]},"description":"The column IDs for the Y-axis series. Lists every series on the chart, including those assigned to the secondary axis by `yAxis2`."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The Y-axis formatting, including title, labels, marks, and scale."}}}],"description":"The columns used for the Y-axis."}}},{"type":"object","properties":{"xAxis":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for the X-axis."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order."},"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The X-axis formatting, including title, labels, marks, and scale."}}}],"description":"The column used for the X-axis."},"yAxis2":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string","description":"The identifier of a column for a series on the secondary Y-axis. Must also appear on `yAxis.columnIds`."},"description":"The column IDs for series measured against the secondary Y-axis. Each must also appear on `yAxis.columnIds`. `yAxis2` selects which of the chart's series use the secondary scale, it does not declare new ones. Series shape comes from the `type` on the matching `yAxis` entry."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The secondary Y-axis formatting, including title, labels, scale, and axis mark spacing."}}}],"description":"Which series use the secondary Y-axis scale and its axis formatting."},"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["top"]},{"type":"string","enum":["right"]},{"type":"string","enum":["bottom"]},{"type":"string","enum":["left"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position. Defaults to `auto`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"colorLegend":{"type":"string","enum":["hidden"],"description":"Whether the color legend is shown when both a color and a size legend would show. Only applies on a scatter chart."},"sizeLegend":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the size legend when a size channel is present. Only applies on a scatter chart."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"Legend visibility, position, and label styling."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Tooltip display options for the chart."},"label":{"type":"array","items":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},"description":"Label encoding — custom data label fields (Marks shelf Label tab). Each id references a column in `columns`. Not the Data labels format section."},"stacking":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["stacked"]},{"type":"string","enum":["normalized"]}],"description":"The stacking mode for the chart. Defaults to `stacked`."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"The color configuration for chart marks. One of single hex, categorical column, or continuous gradient."},"dataLabel":{"type":"object","properties":{"clearance":{"oneOf":[{"type":"string","enum":["separated"]},{"type":"string","enum":["default"]}],"description":"Spacing between data labels and neighboring marks when labels could overlap lines or areas. Either `separated` to offset labels clear of the mark, or `default`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["min-max"]},{"type":"string","enum":["endpoints"]},{"type":"string","enum":["most-recent"]},{"type":"string","enum":["all-points"]}],"description":"Which values and labels to show on each area series label."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."}},"description":"Data label typography, placement, and display options."},"lineAreaStyle":{"type":"object","properties":{"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the area line is shown. Defaults to `shown` for layered area charts and `hidden` otherwise."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"Line stroke and area outline visibility."},"points":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether points are shown. Defaults to `shown`. `shape` and `size` cannot be set when `hidden`."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}},"description":"The points on the series. Configure shape, size, and visibility."}},"description":"The styling of the area series, including interpolation, area outline visibility, stroke, points, and null handling."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"backgroundImage":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The URL of the background image. Supports `{{dynamic-text}}` formula references."}},"description":"The chart background image. The URL supports dynamic `{{formula}}` text."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"trellis":{"type":"object","properties":{"columnsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis columns. At most one entry."},"column":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis column."},"row":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis row."},"rowsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis rows. At most one entry."},"series":{"oneOf":[{"type":"string","enum":["row"]},{"type":"string","enum":["column"]}],"description":"Display each series in its own chart, arranged as a row or column of panels. Cannot be specified if `rowsBy` or `columnsBy` is specified. Not supported for every chart kind."},"share":{"type":"object","properties":{"color-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one color legend across the grid or each panel gets its own. Defaults to `shared`."},"size-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Size legend display options for the trellis."},"x-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one category-axis scale or each scales to its own data. Defaults to `shared`. This is the category axis even when chart orientation renders it vertically."},"y-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one series-axis (value) scale or each scales to its own data. Defaults to `shared`. This is the series axis even when chart orientation renders it horizontally."},"y-axis-2":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share the secondary series-axis scale. Defaults to `shared`. Combo charts with a second value axis only."}},"description":"The scales and legends shared across trellis panels."},"tileSize":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["compact"]}],"description":"The size of charts in a trellis grid. Defaults to `auto` for category trellis, `compact` for trellis by series."}},"description":"Trellis configuration for the chart."},"trendlines":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","model"],"properties":{"columnId":{"type":"string","description":"The Y-axis column to fit the trend line to."},"model":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["quadratic"]},{"type":"string","enum":["polynomial"]},{"type":"string","enum":["exponential"]},{"type":"string","enum":["logarithmic"]},{"type":"string","enum":["power"]}],"description":"Regression model for the trend line."}}},{"type":"object","properties":{"degree":{"type":"number","description":"The polynomial order of the regression fit, from 3 to 7. Defaults to `3`. Only applies when `model` is `polynomial`."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The line style, width, and color for the trend line."},"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"value":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"The regression fit value (R²) drawn on the chart. Set `visibility` to `shown`, or omit the block to hide it."},"equation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"Regression equation. Omit the block to hide the equation."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"The position of the label and computed-value annotation for the trend line."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The label and value display options for the trend line."}}}]},"description":"The regression trend lines for the chart. Each trend line applies to a column plotted on the Y-axis."},"refMarks":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["type","axis","value"],"properties":{"type":{"type":"string","enum":["line"],"description":"A reference line marking a single value on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The position of the reference line on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference line, including style, width, and color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]},{"allOf":[{"type":"object","required":["type","axis","value","endValue"],"properties":{"type":{"type":"string","enum":["band"],"description":"A reference band marking a range between two values on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The start position of the reference band on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."},"endValue":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"Band end position (constant, column aggregation, or formula)."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether a line outlining the reference band is shown. Set to `shown` to display it."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference band line, including style, width, and color."},"fill":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The fill color of the reference band. A hex code, `rgb()` value, or theme reference."}},"description":"The band fill color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]}]},"description":"Reference lines and bands on the chart."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Area Chart"},{"allOf":[{"type":"object","required":["id","kind","source","columns","yAxis"],"properties":{"id":{"type":"string","description":"The identifier of the scatter chart."},"kind":{"type":"string","enum":["scatter-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the scatter chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the scatter chart."},"yAxis":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"oneOf":[{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."},{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."}}},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["bar"]},{"type":"string","enum":["line"]},{"type":"string","enum":["area"]},{"type":"string","enum":["scatter"]}],"description":"The chart shape for this series. Defaults to `bar`."}}}]}]},"description":"The column IDs for the Y-axis series. Lists every series on the chart, including those assigned to the secondary axis by `yAxis2`."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The Y-axis formatting, including title, labels, marks, and scale."}}}],"description":"The columns used for the Y-axis. Multiple columns create a series-per-column scatter plot."}}},{"type":"object","properties":{"xAxis":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for the X-axis."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order."},"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The X-axis formatting, including title, labels, marks, and scale."}}}],"description":"The column used for the X-axis."},"yAxis2":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string","description":"The identifier of a column for a series on the secondary Y-axis. Must also appear on `yAxis.columnIds`."},"description":"The column IDs for series measured against the secondary Y-axis. Each must also appear on `yAxis.columnIds`. `yAxis2` selects which of the chart's series use the secondary scale, it does not declare new ones. Series shape comes from the `type` on the matching `yAxis` entry."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The secondary Y-axis formatting, including title, labels, scale, and axis mark spacing."}}}],"description":"Which series use the secondary Y-axis scale and its axis formatting."},"size":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"The column whose values determine point size. Each point is sized relative to others in the chart."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"The color configuration for chart marks. One of single hex, categorical column, or continuous gradient."},"conditionalFormats":{"type":"array","items":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","formula"],"properties":{"condition":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula for a conditional formatting rule. Can reference any column in the element. Must return a boolean."}}}]},{"type":"object","properties":{"style":{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string","enum":["none"]}],"description":"The cell background color as a hex code, or `none` for no fill. Omit to use the default highlight."}}}}}]},"description":"Single-color conditional formatting rules applied to chart marks. Order matters; only the first matching rule applies."},"dataLabel":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"precision":{"type":"number","description":"The number of decimal places when labels use percent format."},"showStroke":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"The stroke (outline) around data labels."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"Whether numeric values are shown as percentages or as plain numbers."}},"description":"Data label typography, placement, and display options."},"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["top"]},{"type":"string","enum":["right"]},{"type":"string","enum":["bottom"]},{"type":"string","enum":["left"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position. Defaults to `auto`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"colorLegend":{"type":"string","enum":["hidden"],"description":"Whether the color legend is shown when both a color and a size legend would show. Only applies on a scatter chart."},"sizeLegend":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the size legend when a size channel is present. Only applies on a scatter chart."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"Legend visibility, position, and label styling."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Tooltip display options for the chart."},"label":{"type":"array","items":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},"description":"Label encoding — custom data label fields (Marks shelf Label tab). Each id references a column in `columns`. Not the Data labels format section."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"backgroundImage":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The URL of the background image. Supports `{{dynamic-text}}` formula references."}},"description":"The chart background image. The URL supports dynamic `{{formula}}` text."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"pointStyle":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."},{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The minimum point size applied when a size field is set."}]}},"description":"The point mark shape and size."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"refMarks":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["type","axis","value"],"properties":{"type":{"type":"string","enum":["line"],"description":"A reference line marking a single value on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The position of the reference line on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference line, including style, width, and color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]},{"allOf":[{"type":"object","required":["type","axis","value","endValue"],"properties":{"type":{"type":"string","enum":["band"],"description":"A reference band marking a range between two values on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The start position of the reference band on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."},"endValue":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"Band end position (constant, column aggregation, or formula)."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether a line outlining the reference band is shown. Set to `shown` to display it."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference band line, including style, width, and color."},"fill":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The fill color of the reference band. A hex code, `rgb()` value, or theme reference."}},"description":"The band fill color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]}]},"description":"Reference lines and bands on the chart."},"trellis":{"type":"object","properties":{"columnsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis columns. At most one entry."},"column":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis column."},"row":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis row."},"rowsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis rows. At most one entry."},"series":{"oneOf":[{"type":"string","enum":["row"]},{"type":"string","enum":["column"]}],"description":"Display each series in its own chart, arranged as a row or column of panels. Cannot be specified if `rowsBy` or `columnsBy` is specified. Not supported for every chart kind."},"share":{"type":"object","properties":{"color-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one color legend across the grid or each panel gets its own. Defaults to `shared`."},"size-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Size legend display options for the trellis."},"x-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one category-axis scale or each scales to its own data. Defaults to `shared`. This is the category axis even when chart orientation renders it vertically."},"y-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one series-axis (value) scale or each scales to its own data. Defaults to `shared`. This is the series axis even when chart orientation renders it horizontally."},"y-axis-2":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share the secondary series-axis scale. Defaults to `shared`. Combo charts with a second value axis only."}},"description":"The scales and legends shared across trellis panels."},"tileSize":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["compact"]}],"description":"The size of charts in a trellis grid. Defaults to `auto` for category trellis, `compact` for trellis by series."}},"description":"Trellis configuration for the chart."},"trendlines":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","model"],"properties":{"columnId":{"type":"string","description":"The Y-axis column to fit the trend line to."},"model":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["quadratic"]},{"type":"string","enum":["polynomial"]},{"type":"string","enum":["exponential"]},{"type":"string","enum":["logarithmic"]},{"type":"string","enum":["power"]}],"description":"Regression model for the trend line."}}},{"type":"object","properties":{"degree":{"type":"number","description":"The polynomial order of the regression fit, from 3 to 7. Defaults to `3`. Only applies when `model` is `polynomial`."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The line style, width, and color for the trend line."},"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"value":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"The regression fit value (R²) drawn on the chart. Set `visibility` to `shown`, or omit the block to hide it."},"equation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"Regression equation. Omit the block to hide the equation."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"The position of the label and computed-value annotation for the trend line."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The label and value display options for the trend line."}}}]},"description":"The regression trend lines for the chart. Each trend line applies to a column plotted on the Y-axis."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Scatter Chart"},{"allOf":[{"type":"object","required":["id","kind","source","columns","yAxis"],"properties":{"id":{"type":"string","description":"The identifier of the combo chart."},"kind":{"type":"string","enum":["combo-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the combo chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the combo chart."},"yAxis":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"oneOf":[{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."},{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."}}},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["bar"]},{"type":"string","enum":["line"]},{"type":"string","enum":["area"]},{"type":"string","enum":["scatter"]}],"description":"The chart shape for this series. Defaults to `bar`."}}}]}]},"description":"The column IDs for the Y-axis series. Lists every series on the chart, including those assigned to the secondary axis by `yAxis2`."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The Y-axis formatting, including title, labels, marks, and scale."}}}],"description":"The series plotted on the chart, including any placed on the secondary axis by `yAxis2`. Set `type` to `line`, `area`, or `scatter` to change a series from the default bar."}}},{"type":"object","properties":{"yAxis2":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string","description":"The identifier of a column for a series on the secondary Y-axis. Must also appear on `yAxis.columnIds`."},"description":"The column IDs for series measured against the secondary Y-axis. Each must also appear on `yAxis.columnIds`. `yAxis2` selects which of the chart's series use the secondary scale, it does not declare new ones. Series shape comes from the `type` on the matching `yAxis` entry."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The secondary Y-axis formatting, including title, labels, scale, and axis mark spacing."}}}],"description":"Which series use the secondary Y-axis scale and its axis formatting."},"xAxis":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for the X-axis."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order."},"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The X-axis formatting, including title, labels, marks, and scale."}}}],"description":"The column used for the X-axis."},"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["top"]},{"type":"string","enum":["right"]},{"type":"string","enum":["bottom"]},{"type":"string","enum":["left"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position. Defaults to `auto`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"colorLegend":{"type":"string","enum":["hidden"],"description":"Whether the color legend is shown when both a color and a size legend would show. Only applies on a scatter chart."},"sizeLegend":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the size legend when a size channel is present. Only applies on a scatter chart."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"Legend visibility, position, and label styling."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Tooltip display options for the chart."},"label":{"type":"array","items":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},"description":"Label encoding — custom data label fields (Marks shelf Label tab). Each id references a column in `columns`. Not the Data labels format section."},"stacking":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["stacked"]},{"type":"string","enum":["normalized"]}],"description":"The stacking mode for the chart. Defaults to `stacked`."},"barStyle":{"type":"object","properties":{"cornerRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The bar corner shape. Defaults to `square`."}},"description":"The corner shape for bars in a bar series. Defaults to `square`. Requires at least one bar series on the combo chart."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"The color configuration for chart marks. One of single hex, categorical column, or continuous gradient."},"conditionalFormats":{"type":"array","items":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","formula"],"properties":{"condition":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula for a conditional formatting rule. Can reference any column in the element. Must return a boolean."}}}]},{"type":"object","properties":{"style":{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string","enum":["none"]}],"description":"The cell background color as a hex code, or `none` for no fill. Omit to use the default highlight."}}}}}]},"description":"Single-color conditional formatting rules applied to chart marks. Order matters; only the first matching rule applies."},"dataLabel":{"type":"object","properties":{"anchor":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["end"]},{"type":"string","enum":["middle"]},{"type":"string","enum":["outside-end"]},{"type":"string","enum":["start"]}],"description":"Position of the data label relative to its mark."},"clearance":{"oneOf":[{"type":"string","enum":["separated"]},{"type":"string","enum":["default"]}],"description":"Spacing between data labels and neighboring marks when labels could overlap lines or areas. Either `separated` to offset labels clear of the mark, or `default`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["all"]},{"type":"string","enum":["all-points"]},{"type":"string","enum":["auto"]},{"type":"string","enum":["color"]},{"type":"string","enum":["color-percent"]},{"type":"string","enum":["color-value"]},{"type":"string","enum":["endpoints"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["min-max"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["most-recent"]},{"type":"string","enum":["percent"]},{"type":"string","enum":["value"]},{"type":"string","enum":["value-percent"]}],"description":"Which values and labels to show on data labels when applying defaults for all series."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"orient":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["horizontal"]},{"type":"string","enum":["vertical"]}],"description":"Text direction for data labels."},"precision":{"type":"number","description":"The number of decimal places when labels include percentages."},"showStroke":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"The stroke (outline) around data labels."},"totals":{"type":"object","properties":{"display":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"fontSize":{"type":"number","description":"The font size for total labels, in pixels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["min-max"]},{"type":"string","enum":["all"]}],"description":"Which aggregate total labels appear on the bars. Defaults to `auto`."},"orient":{"oneOf":[{"type":"string","enum":["horizontal"]},{"type":"string","enum":["vertical"]}],"description":"The text direction for total labels."}},"description":"The aggregate total label options when the combo chart includes bars."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"Whether numeric values are shown as percentages or as plain numbers."}},"description":"Default data label settings for the combo chart. Series-specific settings may override these."},"gap":{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The spacing between bars (gap width) within each category group."},"betweenSets":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The size preset for the gap between groups of bars. Requires clustered bar sets, from a color by category or color by scale, or multiple bar series with clustered stacking. Defaults to `auto`."}},"description":"The gap width between sets of bars on bar series. Requires a categorical x-axis."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"seriesDataLabel":{"type":"object","properties":{"area":{"type":"object","properties":{"clearance":{"oneOf":[{"type":"string","enum":["separated"]},{"type":"string","enum":["default"]}],"description":"Spacing between data labels and neighboring marks when labels could overlap lines or areas. Either `separated` to offset labels clear of the mark, or `default`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["min-max"]},{"type":"string","enum":["endpoints"]},{"type":"string","enum":["most-recent"]},{"type":"string","enum":["all-points"]}],"description":"Which values and labels to show on each area series data label."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"showStroke":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"The stroke (outline) around data labels."}}},"bar":{"type":"object","properties":{"anchor":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["end"]},{"type":"string","enum":["middle"]},{"type":"string","enum":["outside-end"]},{"type":"string","enum":["start"]}],"description":"Position of the data label relative to its mark."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["min-max"]},{"type":"string","enum":["all"]}],"description":"Which values and labels to show on each bar segment label."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"orient":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["horizontal"]},{"type":"string","enum":["vertical"]}],"description":"Text direction for data labels."},"precision":{"type":"number","description":"The number of decimal places when labels include percentages."},"showStroke":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"The stroke (outline) around data labels."},"totals":{"type":"object","properties":{"display":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"fontSize":{"type":"number","description":"The font size for total labels, in pixels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["min-max"]},{"type":"string","enum":["all"]}],"description":"Which aggregate total labels appear on the bars. Defaults to `auto`."},"orient":{"oneOf":[{"type":"string","enum":["horizontal"]},{"type":"string","enum":["vertical"]}],"description":"The text direction for total labels."}},"description":"The aggregate total label options for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"Whether numeric values are shown as percentages or as plain numbers."}}},"line":{"type":"object","properties":{"clearance":{"oneOf":[{"type":"string","enum":["separated"]},{"type":"string","enum":["default"]}],"description":"Spacing between data labels and neighboring marks when labels could overlap lines or areas. Either `separated` to offset labels clear of the mark, or `default`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["min-max"]},{"type":"string","enum":["endpoints"]},{"type":"string","enum":["most-recent"]},{"type":"string","enum":["all-points"]}],"description":"Which values and labels to show on each line series label."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"showStroke":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"The stroke (outline) around data labels."}}},"scatter":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"precision":{"type":"number","description":"The number of decimal places when labels use percent format."},"showStroke":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"The stroke (outline) around data labels."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"Whether numeric values are shown as percentages or as plain numbers."}}}},"description":"The per-series data label settings, overriding `dataLabel` for that series. Set any of `bar`, `line`, `area`, or `scatter`."},"pointStyle":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."},{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The minimum point size applied when a size field is set."}]}},"description":"The default point shape and size for scatter series."},"seriesPointStyle":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The Y-axis column for this scatter series. Sigma aggregates values associated with the same X-axis category."}}},{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."},{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The minimum point size applied when a size field is set."}]}}}]},"description":"The point style overrides for a series in a combo chart with the `scatter` type. Each entry lists only fields that differ from `pointStyle`."},"backgroundImage":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The URL of the background image. Supports `{{dynamic-text}}` formula references."}},"description":"The chart background image. The URL supports dynamic `{{formula}}` text."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"lineAreaStyle":{"type":"object","properties":{"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the area line is shown. Defaults to `shown` for layered area charts and `hidden` otherwise."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"Line stroke and area outline visibility."},"points":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether points are shown. Defaults to `shown`. `shape` and `size` cannot be set when `hidden`."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}},"description":"The points on the series. Configure shape, size, and visibility."}},"description":"Default interpolation, stroke, points, and null handling for line and area series. Requires at least one line or area series on the chart."},"seriesLineAreaStyle":{"type":"array","items":{"type":"object","required":["columnId","style"],"properties":{"columnId":{"type":"string","description":"Y-axis column id for a combo line or area layer."},"style":{"type":"object","properties":{"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the area line is shown. Defaults to `shown` for layered area charts and `hidden` otherwise."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"Line stroke and area outline visibility."},"points":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether points are shown. Defaults to `shown`. `shape` and `size` cannot be set when `hidden`."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}},"description":"The points on the series. Configure shape, size, and visibility."}},"description":"Line/area style override for this series (only fields that differ from `lineAreaStyle`)."}}},"description":"Line and area style overrides for combo charts, specified by the column identifier of each line or area series on the y-axis."},"refMarks":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["type","axis","value"],"properties":{"type":{"type":"string","enum":["line"],"description":"A reference line marking a single value on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The position of the reference line on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference line, including style, width, and color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]},{"allOf":[{"type":"object","required":["type","axis","value","endValue"],"properties":{"type":{"type":"string","enum":["band"],"description":"A reference band marking a range between two values on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The start position of the reference band on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."},"endValue":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"Band end position (constant, column aggregation, or formula)."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether a line outlining the reference band is shown. Set to `shown` to display it."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference band line, including style, width, and color."},"fill":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The fill color of the reference band. A hex code, `rgb()` value, or theme reference."}},"description":"The band fill color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]}]},"description":"Reference lines and bands on the chart."},"trellis":{"type":"object","properties":{"columnsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis columns. At most one entry."},"column":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis column."},"row":{"type":"object","properties":{"border":{"type":"string","enum":["hidden"],"description":"Whether a border is shown between trellis panels. Set to `hidden` to hide it."},"labels":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The label color, as a hex code or theme reference."}}}],"description":"The trellis labels. Set to `hidden` to hide them, or provide styling overrides."},"title":{"oneOf":[{"type":"string","enum":["hidden"],"description":"Hide this guide component."},{"type":"object","properties":{"text":{"type":"string","description":"The text of the trellis title."},"fontSize":{"type":"number","description":"The font size, in pixels."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The title color, as a hex code or theme reference."}}}],"description":"The trellis title. Set to `hidden` to hide it, or provide text and styling overrides."}},"description":"The format for the trellis row."},"rowsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed at this position."}}},{"type":"object","properties":{"sort":{"oneOf":[{"allOf":[{"type":"object","required":["type","columnId","direction"],"properties":{"type":{"type":"string","enum":["column"],"description":"Set to `column` to sort trellis panels by another column, named in `columnId`."},"columnId":{"type":"string","description":"The identifier of the column to sort by."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation when sorting by another column."}}}]},{"type":"object","required":["type","direction"],"properties":{"type":{"type":"string","enum":["row-count"],"description":"Set to `row-count` to sort trellis panels by the number of rows."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"type":{"type":"string","enum":["values"],"description":"Set to `values` to sort by this column's own values. This is the default when `type` is omitted."}}}]}],"description":"The sort direction and type (`values`, `column`, or `row-count`)."}}}]},"description":"The identifier of the column that defines trellis rows. At most one entry."},"series":{"oneOf":[{"type":"string","enum":["row"]},{"type":"string","enum":["column"]}],"description":"Display each series in its own chart, arranged as a row or column of panels. Cannot be specified if `rowsBy` or `columnsBy` is specified. Not supported for every chart kind."},"share":{"type":"object","properties":{"color-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one color legend across the grid or each panel gets its own. Defaults to `shared`."},"size-legends":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Size legend display options for the trellis."},"x-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one category-axis scale or each scales to its own data. Defaults to `shared`. This is the category axis even when chart orientation renders it vertically."},"y-axis":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share one series-axis (value) scale or each scales to its own data. Defaults to `shared`. This is the series axis even when chart orientation renders it horizontally."},"y-axis-2":{"oneOf":[{"type":"string","enum":["shared"]},{"type":"string","enum":["separate"]}],"description":"Whether trellis panels share the secondary series-axis scale. Defaults to `shared`. Combo charts with a second value axis only."}},"description":"The scales and legends shared across trellis panels."},"tileSize":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["compact"]}],"description":"The size of charts in a trellis grid. Defaults to `auto` for category trellis, `compact` for trellis by series."}},"description":"Trellis configuration for the chart."},"trendlines":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","model"],"properties":{"columnId":{"type":"string","description":"The Y-axis column to fit the trend line to."},"model":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["quadratic"]},{"type":"string","enum":["polynomial"]},{"type":"string","enum":["exponential"]},{"type":"string","enum":["logarithmic"]},{"type":"string","enum":["power"]}],"description":"Regression model for the trend line."}}},{"type":"object","properties":{"degree":{"type":"number","description":"The polynomial order of the regression fit, from 3 to 7. Defaults to `3`. Only applies when `model` is `polynomial`."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The line style, width, and color for the trend line."},"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"value":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"The regression fit value (R²) drawn on the chart. Set `visibility` to `shown`, or omit the block to hide it."},"equation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"Regression equation. Omit the block to hide the equation."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"The position of the label and computed-value annotation for the trend line."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The label and value display options for the trend line."}}}]},"description":"The regression trend lines for the chart. Each trend line applies to a column plotted on the Y-axis."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Combo Chart"},{"allOf":[{"type":"object","required":["id","kind","source","columns","yAxis"],"properties":{"id":{"type":"string","description":"The identifier of the waterfall chart."},"kind":{"type":"string","enum":["waterfall-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the waterfall chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the waterfall chart."},"yAxis":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"oneOf":[{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."},{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."}}},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["bar"]},{"type":"string","enum":["line"]},{"type":"string","enum":["area"]},{"type":"string","enum":["scatter"]}],"description":"The chart shape for this series. Defaults to `bar`."}}}]}]},"description":"The column IDs for the Y-axis series. Lists every series on the chart, including those assigned to the secondary axis by `yAxis2`."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The Y-axis formatting, including title, labels, marks, and scale."}}}],"description":"The columns used for the Y-axis."}}},{"type":"object","properties":{"xAxis":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for the X-axis."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order."},"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The X-axis formatting, including title, labels, marks, and scale."}}}],"description":"The column used for the X-axis."},"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["top"]},{"type":"string","enum":["right"]},{"type":"string","enum":["bottom"]},{"type":"string","enum":["left"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position. Defaults to `auto`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"colorLegend":{"type":"string","enum":["hidden"],"description":"Whether the color legend is shown when both a color and a size legend would show. Only applies on a scatter chart."},"sizeLegend":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the size legend when a size channel is present. Only applies on a scatter chart."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"Legend visibility, position, and label styling."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Tooltip display options for the chart."},"grouping":{"oneOf":[{"type":"string","enum":["stacked"]},{"type":"string","enum":["clustered"]}],"description":"The series grouping. Either `stacked` (default) or `clustered` (no stacking)."},"splitBy":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"The column that splits the waterfall into multiple data series, plotted as cumulative segments."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"The color configuration for chart marks. One of single hex, categorical column, or continuous gradient."},"conditionalFormats":{"type":"array","items":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","formula"],"properties":{"condition":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula for a conditional formatting rule. Can reference any column in the element. Must return a boolean."}}}]},{"type":"object","properties":{"style":{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string","enum":["none"]}],"description":"The cell background color as a hex code, or `none` for no fill. Omit to use the default highlight."}}}}}]},"description":"Single-color conditional formatting rules applied to chart marks. Order matters; only the first matching rule applies."},"waterfallColors":{"type":"object","properties":{"decrease":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color for decreasing waterfall bars."},"increase":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color for increasing waterfall bars. Decreasing bars and totals use separate colors."},"total":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Color for subtotal and end total bars."}},"description":"The colors for increase, decrease, and total bars."},"waterfallShape":{"type":"object","properties":{"calculation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["difference"]}],"description":"How bar values combine. Defaults to `sum`."},"connectorLine":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether connector lines between bars are shown."},"connectorLineColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The connector line color."},"endTotal":{"type":"object","properties":{"label":{"type":"string","description":"The label text."},"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Set to `hidden` to hide the label. Omit to show."}},"description":"End total bar label options."},"subtotal":{"type":"object","properties":{"label":{"type":"string","description":"The label text."},"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Set to `hidden` to hide the label. Omit to show."}},"description":"Subtotal bar label options."}},"description":"The waterfall chart display options for connector lines, end value, and subtotals."},"startPoint":{"type":"object","properties":{"label":{"type":"string","description":"The start bar label text."},"value":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["first-value"]}}},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Constant numeric start value for the waterfall chart. Null clears the value."}}}]},{"type":"object","required":["columnId","func","type"],"properties":{"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"Aggregation for a column-based start value."},"type":{"type":"string","enum":["column"]}}}],"description":"How the start value is computed."},"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Set to `hidden` to hide the start bar. Omit to show."}},"description":"The starting bar value and label. When a start bar is shown, the label defaults to `Start`."},"dataLabel":{"type":"object","properties":{"anchor":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["end"]},{"type":"string","enum":["middle"]},{"type":"string","enum":["outside-end"]},{"type":"string","enum":["start"]}],"description":"Position of the data label relative to its mark."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["minimum"]},{"type":"string","enum":["maximum"]},{"type":"string","enum":["min-max"]},{"type":"string","enum":["all"]}],"description":"Which values and labels to show on each bar segment label."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"precision":{"type":"number","description":"The number of decimal places when labels include percentages."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"Whether numeric values are shown as percentages or as plain numbers."}},"description":"Data label typography, placement, and display options."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"backgroundImage":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The URL of the background image. Supports `{{dynamic-text}}` formula references."}},"description":"The chart background image. The URL supports dynamic `{{formula}}` text."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"refMarks":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["type","axis","value"],"properties":{"type":{"type":"string","enum":["line"],"description":"A reference line marking a single value on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The position of the reference line on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference line, including style, width, and color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]},{"allOf":[{"type":"object","required":["type","axis","value","endValue"],"properties":{"type":{"type":"string","enum":["band"],"description":"A reference band marking a range between two values on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The start position of the reference band on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."},"endValue":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"Band end position (constant, column aggregation, or formula)."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether a line outlining the reference band is shown. Set to `shown` to display it."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference band line, including style, width, and color."},"fill":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The fill color of the reference band. A hex code, `rgb()` value, or theme reference."}},"description":"The band fill color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]}]},"description":"Reference lines and bands on the chart."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Waterfall Chart"},{"allOf":[{"type":"object","required":["id","kind","source","columns","stages","value"],"properties":{"id":{"type":"string","description":"The identifier of the sankey chart."},"kind":{"type":"string","enum":["sankey-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the sankey chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}}]}]},"description":"The columns used by the sankey chart."},"stages":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order."}}}]},"description":"Ordered stage dimension columns. Empty when no stages are bound yet."},"value":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"The column whose values define flow magnitude."}}},{"type":"object","properties":{"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"color":{"type":"object","required":["by","scheme"],"properties":{"by":{"type":"string","enum":["palette"]},"scheme":{"oneOf":[{"type":"string","description":"Named categorical palette.","title":"Named palette"},{"type":"array","items":{"type":"string"},"description":"Custom hex color list.","title":"Custom palette"}],"description":"Named categorical palette or custom hex list applied to flow colors."}},"description":"Flow color palette override (`by: palette`). Omitted when the theme default applies."},"dataLabel":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["stage"]},{"type":"string","enum":["value"]},{"type":"string","enum":["percent"]},{"type":"string","enum":["stage-value"]},{"type":"string","enum":["stage-percent"]},{"type":"string","enum":["value-percent"]},{"type":"string","enum":["all"]}],"description":"Which stage names, values, and percentages to show on flow labels."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"precision":{"type":"number","description":"The number of decimal places when labels include percentages."}},"description":"Data label typography and sankey-specific label display options."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Hover tooltip: `columns` adds fields to the tooltip; `format.columnNames` toggles column-name display."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Sankey Chart"},{"allOf":[{"type":"object","required":["id","kind","source","columns"],"properties":{"id":{"type":"string","description":"The identifier of the treemap chart."},"kind":{"type":"string","enum":["treemap-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the treemap chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the treemap chart."}}},{"type":"object","properties":{"category":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"Optional column whose values define treemap tile categories."},"splitBy":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"Optional column that splits categories into nested groups."},"value":{"type":"array","items":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},"description":"Optional measure columns that define tile size."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"Color configuration: single hex or continuous gradient (`by: 'scale'`). Categorical `by: 'category'` is not supported."},"label":{"type":"array","items":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},"description":"Optional columns rendered as text labels on tiles."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Hover tooltip: `columns` adds fields to the tooltip; `format.columnNames` toggles column-name display."},"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["top"]},{"type":"string","enum":["right"]},{"type":"string","enum":["bottom"]},{"type":"string","enum":["left"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position. Defaults to `auto`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"colorLegend":{"type":"string","enum":["hidden"],"description":"Whether the color legend is shown when both a color and a size legend would show. Only applies on a scatter chart."},"sizeLegend":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the size legend when a size channel is present. Only applies on a scatter chart."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"Legend visibility, position, and label styling."},"mark":{"oneOf":[{"type":"object","properties":{"method":{"oneOf":[{"type":"string","enum":["squarify"]},{"type":"string","enum":["binary"]},{"type":"string","enum":["slicedice"]}],"description":"Layout algorithm. Defaults to squarify."},"nodeSpacing":{"oneOf":[{"type":"number","enum":[0]},{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]},{"type":"number","enum":[6]},{"type":"number","enum":[7]},{"type":"number","enum":[8]}],"description":"Gap between tiles within a group (format panel: Node spacing)."},"groupSpacing":{"oneOf":[{"type":"number","enum":[0]},{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]},{"type":"number","enum":[6]},{"type":"number","enum":[7]},{"type":"number","enum":[8]}],"description":"Gap between split-by groups (format panel: Group spacing). Only applies when both category and splitBy channels are set."}}},{"type":"null"}],"description":"Treemap layout (format panel: Layout): method, node spacing, and group spacing."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."}}}],"description":"","title":"Treemap Chart"},{"allOf":[{"type":"object","required":["id","kind","source","columns","stage","series"],"properties":{"id":{"type":"string","description":"The identifier of the funnel chart."},"kind":{"type":"string","enum":["funnel-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the funnel chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the funnel chart."},"stage":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order."}}}],"description":"The column defining funnel stages."},"series":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"The aggregated value column for funnel segment size."}}},{"type":"object","properties":{"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["top"]},{"type":"string","enum":["right"]},{"type":"string","enum":["bottom"]},{"type":"string","enum":["left"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position. Defaults to `auto`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"colorLegend":{"type":"string","enum":["hidden"],"description":"Whether the color legend is shown when both a color and a size legend would show. Only applies on a scatter chart."},"sizeLegend":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the size legend when a size channel is present. Only applies on a scatter chart."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"Legend visibility, position, and label styling."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Hover tooltip: `columns` adds fields to the tooltip; `format` sets column-name display options."},"labels":{"type":"object","properties":{"stage":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this funnel label is visible."},"anchor":{"oneOf":[{"type":"string","enum":["start"]},{"type":"string","enum":["middle"]},{"type":"string","enum":["end"]}],"description":"Label position along the funnel segment: 'start', 'middle', or 'end'."},"fontSize":{"type":"number","description":"Label font size in pixels."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"value":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this funnel label is visible."},"anchor":{"oneOf":[{"type":"string","enum":["start"]},{"type":"string","enum":["middle"]},{"type":"string","enum":["end"]}],"description":"Label position along the funnel segment: 'start', 'middle', or 'end'."},"fontSize":{"type":"number","description":"Label font size in pixels."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"percent":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this funnel label is visible."},"anchor":{"oneOf":[{"type":"string","enum":["start"]},{"type":"string","enum":["middle"]},{"type":"string","enum":["end"]}],"description":"Label position along the funnel segment: 'start', 'middle', or 'end'."},"fontSize":{"type":"number","description":"Label font size in pixels."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"percentType":{"oneOf":[{"type":"string","enum":["total"]},{"type":"string","enum":["prev"]}],"description":"Conversion-rate denominator: 'total' (% of total) or 'prev' (% of prior stage)."}},"description":"Stage, value, and conversion-rate label visibility, placement, and typography."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"The color configuration for chart marks. One of single hex, categorical column, or continuous gradient."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Funnel Chart"},{"allOf":[{"type":"object","required":["id","kind","source","columns","value"],"properties":{"id":{"type":"string","description":"The identifier of the gauge chart."},"kind":{"type":"string","enum":["gauge-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the gauge chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the gauge chart."},"value":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"Column bound to the gauge value shelf."}}},{"type":"object","properties":{"colorScale":{"type":"object","properties":{"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}},"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."}},"description":"Continuous color scale for the value arc when gaugeMarks.colorMode is 'by-scale'."},"conditionalFormats":{"type":"array","items":{"allOf":[{"type":"object","required":["type","columnIds"],"properties":{"type":{"type":"string","enum":["gauge"]},"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","formula"],"properties":{"condition":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula for a conditional formatting rule. Can reference any column in the element. Must return a boolean."}}}]},{"type":"object","properties":{"compareTo":{"oneOf":[{"type":"string","enum":["maximum"]},{"type":"string","enum":["target"]}],"description":"When set, the rule threshold is a percentage of the gauge's maximum or target."},"style":{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Gauge arc background color when the rule matches."}}}}}]},"description":"Conditional formatting rules applied to the gauge value arc."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"dataLabel":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."}},"description":"Data label visibility and typography for the gauge value."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"gaugeMarks":{"type":"object","properties":{"colorMode":{"oneOf":[{"type":"string","enum":["single-color"]},{"type":"string","enum":["by-scale"]}],"description":"Color shelf mode: 'single-color' (default) or 'by-scale'. Omit when single-color."},"fillColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Gauge mark color (hex, rgb(), or theme reference)."},"gaugeColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Gauge track color (Format panel: Gauge color)."},"needleColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Needle color when showNeedle is shown."},"showColorOnGauge":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Apply conditional-format fill color to the gauge arc. Omit when hidden (default)."},"showFill":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Value arc fill visibility (Format panel: Show gauge fill). Omit when shown (default)."},"showNeedle":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Gauge needle visibility. Omit when shown (default)."},"targetColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Target mark color when a target channel is bound."}},"description":"Gauge track, needle, fill, and color-mode mark configuration."},"maximum":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"Column bound to the maximum shelf."},"minimum":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"Column bound to the minimum shelf."},"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"target":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"Column bound to the target shelf."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Gauge Chart"},{"allOf":[{"type":"object","required":["id","kind","source","columns","yAxis"],"properties":{"id":{"type":"string","description":"The identifier of the box chart."},"kind":{"type":"string","enum":["box-chart"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the box chart."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the box chart."},"yAxis":{"allOf":[{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"oneOf":[{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."},{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for a Y-axis series. Identifies which column provides the data values for this series."}}},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["bar"]},{"type":"string","enum":["line"]},{"type":"string","enum":["area"]},{"type":"string","enum":["scatter"]}],"description":"The chart shape for this series. Defaults to `bar`."}}}]}]},"description":"The column IDs for the Y-axis series. Lists every series on the chart, including those assigned to the secondary axis by `yAxis2`."}}},{"type":"object","properties":{"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The Y-axis formatting, including title, labels, marks, and scale."}}}],"description":"The columns used for the Y-axis."}}},{"type":"object","properties":{"xAxis":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID for the X-axis."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order."},"format":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the axis is shown. Set to `hidden` to hide it."}}},{"type":"object","properties":{"title":{"type":"object","properties":{"text":{"type":"string","description":"The axis title text."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}}},"labels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"object","properties":{"labelAngle":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The label angle in degrees, or `auto` to set the angle automatically."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size automatically."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"allowLongerLabels":{"type":"boolean","description":"Whether to allow longer axis labels without truncation."}}}]},"marks":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The axis mark display. One of `none`, `tick` (marks along axis), `grid` (background lines), or `both`."},"scale":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["log"]},{"type":"string","enum":["ordinal"]},{"type":"string","enum":["pow"]},{"type":"string","enum":["sqrt"]},{"type":"string","enum":["time"]}],"description":"The scale type of the axis."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."}}},"zero":{"type":"boolean","description":"Whether to always include zero in the axis domain."},"reverse":{"type":"boolean","description":"Whether to reverse the axis direction."},"hideZeroLine":{"type":"boolean","description":"Whether to hide the zero guideline on the axis."}}},"tickSpacing":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Set axis mark spacing automatically."}}},{"type":"object","required":["type","count"],"properties":{"type":{"type":"string","enum":["count"],"description":"Set the axis mark count spacing based on an approximate number of axis marks set in `count`."},"count":{"type":"number","description":"The approximate number of axis marks, from 1 to 30. Defaults to `5`. The exact count may vary to produce regularly spaced values."}}},{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"type":"string","enum":["auto"],"description":"The time interval unit, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","unit"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["time"],"description":"The axis mark spacing for a time-scale axis."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time interval unit."}}},{"type":"object","properties":{"step":{"type":"number","description":"Number of units between each axis mark."},"anchor":{"oneOf":[{"type":"number"},{"type":"null"}],"description":"Epoch milliseconds for the first axis mark, or null to start at the next whole unit."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["unit","step","mark"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time unit for minor axis marks."},"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]},{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"string","enum":["auto"],"description":"The numeric step between axis marks, chosen automatically."}}},{"allOf":[{"type":"object","required":["type","scale","step"],"properties":{"type":{"type":"string","enum":["interval"],"description":"Set axis marks based on a set interval on a time or linear scale."},"scale":{"type":"string","enum":["linear"],"description":"The tick spacing for a linear-scale axis."},"step":{"type":"number","description":"The distance between axis marks in the data units of the axis. Requires `scale: 'linear'`."}}},{"type":"object","properties":{"anchor":{"type":"number","description":"Numeric anchor for tick alignment."},"minor":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the minor axis marks are shown. Set to `hidden` to hide them."}}},{"type":"object","required":["step","mark"],"properties":{"step":{"type":"number","description":"The minor axis mark step size."},"mark":{"oneOf":[{"type":"string","enum":["tick"]},{"type":"string","enum":["grid"]},{"type":"string","enum":["both"]}],"description":"The style of the minor axis marks drawn between the main axis marks."}}}]}}}]}]}}}],"description":"The X-axis formatting, including title, labels, marks, and scale."}}}],"description":"The column used for the X-axis."},"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The chart description, displayed as a subtitle or tooltip text."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["top"]},{"type":"string","enum":["right"]},{"type":"string","enum":["bottom"]},{"type":"string","enum":["left"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position. Defaults to `auto`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"colorLegend":{"type":"string","enum":["hidden"],"description":"Whether the color legend is shown when both a color and a size legend would show. Only applies on a scatter chart."},"sizeLegend":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the size legend when a size channel is present. Only applies on a scatter chart."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"Legend visibility, position, and label styling."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Hover tooltip: `columns` adds fields to the tooltip; `format` sets column-name display options."},"orientation":{"type":"string","enum":["horizontal"],"description":"Box orientation. Omit (the default) for vertical boxes; set to 'horizontal' for horizontal boxes."},"splitBy":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"Optional column that splits the box plot into series."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"The color configuration for chart marks. One of single hex, categorical column, or continuous gradient."},"boxShape":{"type":"object","properties":{"points":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"string","enum":["outliers-only"]},{"type":"string","enum":["all-points"]}],"description":"Point display: 'hidden' (show points off), 'outliers-only' (default), or 'all-points'."}},"description":"Box plot point display (none, outliers, or all points)."},"dataLabel":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the data label text. A hex code, `rgb()` value, or theme reference."},"fontSize":{"type":"number","description":"The font size for data labels, in pixels."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight for data labels."},"labelDisplay":{"type":"array","items":{"oneOf":[{"type":"string","enum":["quartiles"]},{"type":"string","enum":["median"]},{"type":"string","enum":["min-max"]}]},"description":"Box plot statistics to show on data labels: quartiles (Q1/Q3), median, and/or min-max."},"labels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether values appear on chart marks."},"orient":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["horizontal"]},{"type":"string","enum":["vertical"]}],"description":"Text direction for data labels."},"precision":{"type":"number","description":"The number of decimal places when labels include percentages."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"Whether numeric values are shown as percentages or as plain numbers."}},"description":"Data label typography, orientation, and box statistic display options."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"backgroundImage":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The URL of the background image. Supports `{{dynamic-text}}` formula references."}},"description":"The chart background image. The URL supports dynamic `{{formula}}` text."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"refMarks":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["type","axis","value"],"properties":{"type":{"type":"string","enum":["line"],"description":"A reference line marking a single value on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The position of the reference line on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference line, including style, width, and color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]},{"allOf":[{"type":"object","required":["type","axis","value","endValue"],"properties":{"type":{"type":"string","enum":["band"],"description":"A reference band marking a range between two values on the chart."},"axis":{"oneOf":[{"type":"string","enum":["axis"]},{"type":"string","enum":["series"]},{"type":"string","enum":["series2"]}],"description":"The axis the reference mark applies to. One of primary (`axis`), primary series (`series`), or secondary series (`series2`)."},"value":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"The start position of the reference band on the axis, as one of three shapes. Use `{ type: 'constant', value }` for a fixed number, `{ type: 'column', columnId, func }` for a column aggregation, or `{ type: 'formula', formula }` for a formula."},"endValue":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["constant"]}}},{"type":"object","properties":{"value":{"type":"number","description":"The constant position of the reference line on the axis."}}}]},{"type":"object","required":["type","columnId","func"],"properties":{"type":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The column to aggregate."},"func":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["median"]}],"description":"Aggregation for a column-based mark value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that defines the mark position. Must return a number or datetime."}}}],"description":"Band end position (constant, column aggregation, or formula)."}}},{"type":"object","properties":{"line":{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether a line outlining the reference band is shown. Set to `shown` to display it."},"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The color of the reference line. A hex code, `rgb()` value, or theme reference."}},"description":"The stroke styling of the reference band line, including style, width, and color."},"fill":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The fill color of the reference band. A hex code, `rgb()` value, or theme reference."}},"description":"The band fill color."}}},{"type":"object","properties":{"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"annotation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Annotation is shown. Omit the `label` or `annotation` block entirely to hide it."}},"description":"Whether to display the reference mark value. Set to `{ visibility: 'shown' }` to show, or omit the block to hide."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"Label and computed-value annotation position."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Shared placement and typography for label and annotation."},"scope":{"oneOf":[{"type":"string","enum":["chart"]},{"type":"string","enum":["cell"]}],"description":"The scope for reference mark calculations in a trellised chart. One of `chart` (default, calculated once and shared) or `cell` (calculated per panel)."}}}]}]},"description":"Reference lines and bands on the chart."},"trendlines":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","model"],"properties":{"columnId":{"type":"string","description":"The Y-axis column to fit the trend line to."},"model":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["quadratic"]},{"type":"string","enum":["polynomial"]},{"type":"string","enum":["exponential"]},{"type":"string","enum":["logarithmic"]},{"type":"string","enum":["power"]}],"description":"Regression model for the trend line."}}},{"type":"object","properties":{"degree":{"type":"number","description":"The polynomial order of the regression fit, from 3 to 7. Defaults to `3`. Only applies when `model` is `polynomial`."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The line style."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Line width in pixels (1–5)."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The line style, width, and color for the trend line."},"label":{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}}},{"type":"object","properties":{"text":{"type":"string","description":"The label text."}}}],"description":"The custom label. Omit to hide the label."},"value":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"The regression fit value (R²) drawn on the chart. Set `visibility` to `shown`, or omit the block to hide it."},"equation":{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether the label is shown. Set to `shown` to display it. Omit the `label` or `value` block to hide it."}},"description":"Regression equation. Omit the block to hide the equation."},"caption":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-right"]},{"type":"string","enum":["top-center"]},{"type":"string","enum":["top-left"]},{"type":"string","enum":["bottom-right"]},{"type":"string","enum":["bottom-center"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["middle-right"]},{"type":"string","enum":["middle-left"]}],"description":"The position of the label and computed-value annotation for the trend line."},"fontSize":{"type":"number","description":"The font size for the label and annotation text, in pixels. Defaults to `12`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"The label and value display options for the trend line."}}}]},"description":"The regression trend lines for the chart. Each trend line applies to a column plotted on the Y-axis."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Box Chart"},{"allOf":[{"type":"object","required":["id","kind","source","columns","latitude","longitude"],"properties":{"id":{"type":"string","description":"The identifier of the point map."},"kind":{"type":"string","enum":["point-map"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the point map."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the point map."},"latitude":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"The column whose values are point latitudes (degrees, WGS84)."},"longitude":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"The column whose values are point longitudes (degrees, WGS84)."}}},{"type":"object","properties":{"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The map description text and styling. Requires a non-empty `text` unless `visibility` is `hidden`."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position on the map."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"The legend display options, including visibility, position, and label styling."},"mapStyle":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["baseStyle"],"properties":{"baseStyle":{"oneOf":[{"type":"string","enum":["light"]},{"type":"string","enum":["dark"]},{"type":"string","enum":["streets"]},{"type":"string","enum":["satellite"]}],"description":"The base map style."}}}]},{"allOf":[{"type":"object","properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["baseStyle","styleUrl"],"properties":{"baseStyle":{"type":"string","enum":["custom"],"description":"Custom Mapbox style. Requires `styleUrl`."},"styleUrl":{"type":"string","description":"The Mapbox style URL. Required when `baseStyle` is `custom`."}}}]},{"allOf":[{"type":"object","properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["styleUrl"],"properties":{"styleUrl":{"type":"string","description":"The Mapbox style URL. Required when `baseStyle` is `custom`."}}}]},{"oneOf":[{"type":"object","required":["allowZoom"],"properties":{"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["accessToken"],"properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."}}},{"type":"object","required":["accessToken","allowZoom"],"properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}}]}]},{"type":"null"}],"description":"The display settings for the map, including base style, custom URL, pan and zoom, and a write-only Mapbox access token."},"pointStyle":{"oneOf":[{"type":"object","properties":{"opacity":{"type":"number","description":"Mark opacity from 0 to 1. Omit when fully opaque (1)."},"pointSize":{"oneOf":[{"type":"number","description":"Point diameter in pixels (1–40). Omit when default (5)."},{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number"},"description":"Minimum and maximum point diameters when a size field is set, in pixels. Each must be an integer from 1 to 40. Defaults to [3, 15]."}]}}},{"type":"null"}],"description":"The point mark opacity and size. Set to `null` to remove point styling."},"size":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"The column whose values determine point size. Each point is sized relative to others in the chart."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"The color configuration for chart marks. One of single hex, categorical column, or continuous gradient."},"label":{"type":"array","items":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},"description":"Optional columns rendered as text labels next to each point."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Tooltip display options for the map. Specify fields with the `columns` property."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Point Map"},{"allOf":[{"type":"object","required":["id","kind","source","columns","region"],"properties":{"id":{"type":"string","description":"The identifier of the region map."},"kind":{"type":"string","enum":["region-map"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the region map."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the region map."},"region":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},{"type":"object","required":["regionType"],"properties":{"regionType":{"oneOf":[{"type":"string","enum":["country"]},{"type":"string","enum":["us-state"]},{"type":"string","enum":["us-county"]},{"type":"string","enum":["us-zipcode"]},{"type":"string","enum":["us-cbsa"]},{"type":"string","enum":["us-postal-place"]},{"type":"string","enum":["ca-province"]}],"description":"The geographic region type the column represents (country, us-state, etc.)."}}}],"description":"The region column and the kind of region it contains."}}},{"type":"object","properties":{"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The map description text and styling. Requires a non-empty `text` unless `visibility` is `hidden`."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position on the map."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"The legend display options, including visibility, position, and label styling."},"mapStyle":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["baseStyle"],"properties":{"baseStyle":{"oneOf":[{"type":"string","enum":["light"]},{"type":"string","enum":["dark"]},{"type":"string","enum":["streets"]},{"type":"string","enum":["satellite"]}],"description":"The base map style."}}}]},{"allOf":[{"type":"object","properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["baseStyle","styleUrl"],"properties":{"baseStyle":{"type":"string","enum":["custom"],"description":"Custom Mapbox style. Requires `styleUrl`."},"styleUrl":{"type":"string","description":"The Mapbox style URL. Required when `baseStyle` is `custom`."}}}]},{"allOf":[{"type":"object","properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["styleUrl"],"properties":{"styleUrl":{"type":"string","description":"The Mapbox style URL. Required when `baseStyle` is `custom`."}}}]},{"oneOf":[{"type":"object","required":["allowZoom"],"properties":{"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["accessToken"],"properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."}}},{"type":"object","required":["accessToken","allowZoom"],"properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}}]}]},{"type":"null"}],"description":"The display settings for the map, including base style, custom URL, pan and zoom, and a write-only Mapbox access token."},"regionStyle":{"oneOf":[{"type":"object","properties":{"opacity":{"type":"number","description":"Mark opacity from 0 to 1. Omit when fully opaque (1)."}}},{"type":"null"}],"description":"The region fill styling, as an object with an `opacity` from 0 to 1. Set to `null` to clear it."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"The color configuration for chart marks. One of single hex, categorical column, or continuous gradient."},"label":{"type":"array","items":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}}},"description":"The columns rendered as text labels on each region."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Tooltip display options for the map. Specify fields with the `columns` property."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Region Map"},{"allOf":[{"type":"object","required":["id","kind","source","columns","geography"],"properties":{"id":{"type":"string","description":"The identifier of the geography map element."},"kind":{"type":"string","enum":["geography-map"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the geography map."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this column appears in the hover tooltip: 'shown' or 'hidden'. Omit when aligned with the chart default. Distinct from element `tooltip.columns` (extra hover fields)."}}}]}]},"description":"The columns used by the geography map."},"geography":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID."}},"description":"The identifier of a Geography column or column of GeoJSON geometries."}}},{"type":"object","properties":{"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The map description text and styling. Requires a non-empty `text` unless `visibility` is `hidden`."},"legend":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the legend is shown. Set to `hidden` to hide the whole legend. No other legend field can be set alongside it. Omit `visibility` to configure `position`, `color`, `fontSize`, or the legend components instead."}}},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top-left"]},{"type":"string","enum":["top-right"]},{"type":"string","enum":["bottom-left"]},{"type":"string","enum":["bottom-right"]}],"description":"The legend position on the map."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Legend label font size in pixels."},"header":{"type":"string","enum":["hidden"],"description":"Whether the legend header is shown. Set to `hidden` to hide it."}}}],"description":"The legend display options, including visibility, position, and label styling."},"mapStyle":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["baseStyle"],"properties":{"baseStyle":{"oneOf":[{"type":"string","enum":["light"]},{"type":"string","enum":["dark"]},{"type":"string","enum":["streets"]},{"type":"string","enum":["satellite"]}],"description":"The base map style."}}}]},{"allOf":[{"type":"object","properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["baseStyle","styleUrl"],"properties":{"baseStyle":{"type":"string","enum":["custom"],"description":"Custom Mapbox style. Requires `styleUrl`."},"styleUrl":{"type":"string","description":"The Mapbox style URL. Required when `baseStyle` is `custom`."}}}]},{"allOf":[{"type":"object","properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["styleUrl"],"properties":{"styleUrl":{"type":"string","description":"The Mapbox style URL. Required when `baseStyle` is `custom`."}}}]},{"oneOf":[{"type":"object","required":["allowZoom"],"properties":{"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}},{"type":"object","required":["accessToken"],"properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."}}},{"type":"object","required":["accessToken","allowZoom"],"properties":{"accessToken":{"type":"string","description":"Mapbox access token. Write-only: never returned on read."},"allowZoom":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pan and zoom are enabled on the map. Defaults to `shown`."}}}]}]},{"type":"null"}],"description":"The display settings for the map, including base style, custom URL, pan and zoom, and a write-only Mapbox access token."},"featureStyle":{"oneOf":[{"type":"object","properties":{"opacity":{"type":"number","description":"Mark opacity from 0 to 1. Omit when fully opaque (1)."},"pointSize":{"type":"number","description":"Point diameter in pixels (1–40). Omit when default (5)."}}},{"type":"null"}],"description":"The opacity and point size of features."},"color":{"oneOf":[{"type":"object","required":["by","value"],"properties":{"by":{"type":"string","enum":["single"]},"value":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["category"]},"column":{"type":"string","description":"The identifier of the column whose values determine categorical color assignment. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"customColors":{"type":"array","items":{"type":"object","required":["value","color"],"properties":{"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"Column value the color applies to; null pins the color to blank/missing values."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"description":"Per-value color overrides: pins specific column values to specific colors, independent of the categorical scheme."}}}]},{"allOf":[{"type":"object","required":["by","column"],"properties":{"by":{"type":"string","enum":["scale"]},"column":{"type":"string","description":"The identifier of the numeric column whose values drive the continuous color gradient. Must be a column in the chart."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The array of colors defining the palette or gradient, as hex codes (`#rgb` or `#rrggbb`). A continuous gradient needs at least two entries."},"domain":{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the continuous color scale. Defaults to the data's minimum value."},"max":{"type":"number","description":"The upper bound of the continuous color scale. Defaults to the data's maximum value."},"mid":{"type":"number","description":"The midpoint of the continuous color scale. Specify to make the gradient diverging. Omit for a sequential gradient."}}}}}]}],"description":"The color configuration for chart marks. One of single hex, categorical column, or continuous gradient."},"tooltip":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The column ID shown in the hover tooltip."}}},"description":"Columns shown in the hover tooltip, in addition to the chart's own columns."},"format":{"type":"object","properties":{"columnNames":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether column names appear in the tooltip. Defaults to `true`."},"multiSeries":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Tooltip display mode for the chart. Defaults to multiple series for line and area charts, single series for bar charts."},"valueFormat":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["number"]}],"description":"The tooltip value format. Omit when the chart default applies."}},"description":"The tooltip display options for the chart."}},"description":"Tooltip display options for the map. Specify fields with the `columns` property."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this chart."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"aggregateValues":{"oneOf":[{"type":"string","enum":["on"]},{"type":"string","enum":["off"]}],"description":"Whether value channels are aggregated. Omit for aggregated (default); set to `off` for raw row-level values."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Geography Map"},{"allOf":[{"type":"object","required":["id","kind","source","columns","values"],"properties":{"id":{"type":"string","description":"The identifier of the pivot table."},"kind":{"type":"string","enum":["pivot-table"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The data source for the pivot table."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"link":{"oneOf":[{"type":"object","required":["kind","columnId"],"properties":{"kind":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The identifier of the column of URLs. Required when `kind` is `column`."}}},{"type":"object","required":["kind","formula"],"properties":{"kind":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that constructs the hyperlink URL. Must output Text data type. E.g., `Concat(\"https://example.com/?id=\", [Store Id])`."}}}],"description":"The hyperlink target for this column. Either another column containing URLs, or a formula that constructs one."},"showOnTotals":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pivot value column labels appear on total cells for this measure. Defaults to `shown`."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"link":{"oneOf":[{"type":"object","required":["kind","columnId"],"properties":{"kind":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The identifier of the column of URLs. Required when `kind` is `column`."}}},{"type":"object","required":["kind","formula"],"properties":{"kind":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that constructs the hyperlink URL. Must output Text data type. E.g., `Concat(\"https://example.com/?id=\", [Store Id])`."}}}],"description":"The hyperlink target for this column. Either another column containing URLs, or a formula that constructs one."},"showOnTotals":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether pivot value column labels appear on total cells for this measure. Defaults to `shown`."}}}]}]},"description":"The columns used by the pivot table."},"values":{"type":"array","items":{"type":"string"},"description":"The column IDs used as value measures."}}},{"type":"object","properties":{"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}},"description":"The pivot table description, shown as a subtitle or tooltip."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"rowsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed on this shelf position."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order for this column group."},"showValuesAggregatedAt":{"type":"string","enum":["every-parent-row"],"description":"Row subtotals aggregated at every parent row, on pivot row dimensions only. Omit for immediate parent row only."}}}]},"description":"Column IDs placed in the pivot rows."},"columnsBy":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column ID placed on this shelf position."}}},{"type":"object","properties":{"sort":{"allOf":[{"type":"object","required":["direction"],"properties":{"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"by":{"type":"string","description":"The identifier of the column to sort by. Can be set to `row-count` to sort by the number of rows. If omitted, sorts by the column's own values."},"aggregation":{"oneOf":[{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]},{"type":"string","enum":["count"]},{"type":"string","enum":["countDistinct"]},{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["stddev"]},{"type":"string","enum":["variance"]}],"description":"The aggregate function applied to the sort column. Only applies when `by` references a column, not `row-count`. The numeric-only aggregations `sum`, `avg`, `median`, `stddev`, and `variance` are rejected on a non-numeric column."}}}],"description":"The sort order for this column group."},"showValuesAggregatedAt":{"type":"string","enum":["every-parent-row"],"description":"Row subtotals aggregated at every parent row, on pivot row dimensions only. Omit for immediate parent row only."}}}]},"description":"The column IDs placed in the pivot columns. These columns define the pivot table's column headers and structure the data horizontally."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"conditionalFormats":{"type":"array","items":{"allOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["single"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","formula"],"properties":{"condition":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula for a conditional formatting rule. Can reference any column in the element. Must return a boolean."}}}]},{"type":"object","properties":{"style":{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string","enum":["none"]}],"description":"The cell background color as a hex code, or `none` for no fill. Omit to use the default highlight."},"color":{"type":"string","description":"The font color, as a hex code."},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"underline":{"type":"boolean"},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"Number or datetime override, in d3 format, for the displayed value. E.g., `#,##0.00` for thousands separators and two decimals."}}}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["backgroundScale"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The hex colors that define the gradient, as an array of 2 or more colors."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."},"mid":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The midpoint value for a diverging color scale. Omit for a sequential scale."}}},"order":{"oneOf":[{"type":"string","enum":["descending"]},{"type":"string","enum":["ascending"]}]},"nullBehavior":{"oneOf":[{"type":"string","enum":["asZero"]},{"type":"string","enum":["asNull"]}]},"steps":{"type":"number","description":"Quantize the continuous gradient into N discrete buckets."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fontScale"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The hex colors that define the gradient, as an array of 2 or more colors."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."},"mid":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The midpoint value for a diverging color scale. Omit for a sequential scale."}}},"order":{"oneOf":[{"type":"string","enum":["descending"]},{"type":"string","enum":["ascending"]}]},"nullBehavior":{"oneOf":[{"type":"string","enum":["asZero"]},{"type":"string","enum":["asNull"]}]},"steps":{"type":"number"}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["dataBars"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The hex colors that define the gradient, as an array of 2 or more colors."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."},"mid":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The midpoint value for a diverging color scale. Omit for a sequential scale."}}},"order":{"oneOf":[{"type":"string","enum":["descending"]},{"type":"string","enum":["ascending"]}]},"valueLabels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"string","enum":["shown"]}]}}}]}]},{"type":"object","properties":{"includeValues":{"type":"boolean","description":"Whether to apply this formatting to data cells. Defaults to `true`."},"includeSubtotals":{"type":"boolean","description":"Whether to apply this formatting to subtotal rows. Defaults to `false`."},"includeGrandTotals":{"type":"boolean","description":"Whether to apply this formatting to grand total rows. Defaults to `false`."}}}]},"description":"Conditional formatting rules applied to value cells. Later rules take precedence over earlier ones."},"tableStyle":{"allOf":[{"$ref":"#/components/schemas/TableStyle"}],"description":"The style options for the pivot table."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The mark formatting applied to sparkline columns."},"tableComponents":{"type":"object","properties":{"columnHeaders":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The column header display options for the pivot table."},"rowHeaders":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The row header display options for the pivot table."}},"description":"Whether pivot table components are shown, such as column and row headers. Defaults to `shown`."},"axisTotals":{"type":"array","items":{"allOf":[{"type":"object","required":["axisId"],"properties":{"axisId":{"type":"string","description":"The identifier of the pivot row or column dimension, or `grand-row-total` / `grand-column-total` for a grand total."}}},{"type":"object","properties":{"calculations":{"type":"array","items":{"type":"object","required":["columnId","formula"],"properties":{"columnId":{"type":"string","description":"The identifier of the value column this entry applies to."},"formula":{"type":"string","description":"The custom aggregate formula for this value column in this total, for example `Sum([Sales Quantity])`."}}},"description":"Per-value custom aggregate formulas for this total."},"cellFormats":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The identifier of the value column this entry applies to."}}},{"type":"object","properties":{"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal text alignment."},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}]},"textWrap":{"oneOf":[{"type":"string","enum":["wrap"]},{"type":"string","enum":["clip"]}],"description":"The text overflow behavior. Defaults to `clip`."}}}]},"description":"The cell formatting overrides for total cells in this pivot table."},"label":{"type":"string","description":"The text for the custom total label."},"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this total is shown. Omit to use the Totals format-panel default."}}}]},"description":"The display options for pivot table totals and subtotals."},"totals":{"type":"object","properties":{"subTotalColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"subTotalBackgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"subTotalFontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"showSubtotals":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["when-collapsed"]}],"description":"Whether pivot subtotals are always shown or only while pivot rows are collapsed. Defaults to `always`."},"grandTotalColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"grandTotalBackgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"grandTotalFontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"showGrandTotals":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}]},"totalPosition":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]}],"description":"The total position. Defaults to `last`."}},"description":"The styling and default visibility for pivot table total rows and columns."},"display":{"type":"object","properties":{"emptyCellDisplay":{"type":"string","description":"Text shown in empty pivot value cells."},"measureShelfPosition":{"type":"number","description":"The position of the pivot values among row and column dimensions. Defaults to -1 (last)."},"repeatRowLabels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether row labels repeat on each row. Applies when multiple pivot rows display as separate columns."},"rowLayout":{"oneOf":[{"type":"string","enum":["single-column"]},{"type":"string","enum":["separate-columns"]}],"description":"The layout for row dimensions. One of `single-column` (default, stepped) or `separate-columns`."},"showLabels":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether measure labels appear in the pivot header area."},"stacked":{"oneOf":[{"type":"string","enum":["stacked"]},{"type":"string","enum":["side-by-side"]}],"description":"The placement of the values group when it holds multiple measures. `stacked` lists them as extra rows, `side-by-side` (default) lists them as extra columns."},"headerWidths":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["columnId","width"],"properties":{"columnId":{"type":"string","description":"The column to resize. Either a `rowsBy` field ID for headers, or the identifier of one pivot body data column (crossing a pivot column value with a measure) for body widths."},"width":{"type":"number","description":"Column width in pixels."}}},"description":"Per pivot row header widths."},"measureLabelWidth":{"type":"number","description":"Width in pixels of the values column, shown when a pivot has multiple values in stacked layout."},"uniformWidth":{"type":"number","description":"The uniform width for all pivot row header columns after bulk resize, in pixels. Must be a positive number. Cannot be specified if `columns` is specified."}},"description":"The width settings for row-header columns in the pivot table."},"bodyWidths":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"object","required":["columnId","width"],"properties":{"columnId":{"type":"string","description":"The column to resize. Either a `rowsBy` field ID for headers, or the identifier of one pivot body data column (crossing a pivot column value with a measure) for body widths."},"width":{"type":"number","description":"Column width in pixels."}}},"description":"Per pivot body leaf column widths."},"uniformWidth":{"type":"number","description":"The uniform width applied to all pivot body (value) columns, in pixels. Must be a positive number. Cannot be specified if `columns` is specified."}},"description":"The widths of the value columns. Either a single uniform width for all columns, or per-column widths set individually."}},"description":"Pivot table display options, including empty cell text, value stacking, measure labels, row layout, values position, repeat row labels, and column widths."},"frozenColumn":{"oneOf":[{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column to freeze. This column and any column visually to its left are frozen."}}},{"type":"object","properties":{"fieldValues":{"type":"array","items":{"type":"object","required":["fieldId","value"],"properties":{"fieldId":{"type":"string","description":"Pivot shelf field id for a dimension value at the freeze point."},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}],"description":"Dimension member value at the freeze point."}}},"description":"The pivot dimension values identifying which repeated column to freeze. Each value must match its column’s data type."}}}]},{"type":"null"}],"description":"The frozen column configuration. Freezes this column and all columns to its left, keeping them visible when scrolling right."},"adhocCalcs":{"type":"array","items":{"allOf":[{"type":"object","required":["id","inColumn","position"],"properties":{"id":{"type":"string","description":"Identifier for the ad hoc calculation row. Must be unique among ad hoc calculations and must not match a column ID on the pivot table."},"inColumn":{"type":"string","description":"The identifier of the row or column dimension for this calculation. Can also be set to `grand-row-total` or `grand-column-total`."},"position":{"type":"string","enum":["above","below"],"description":"The position of the row relative to the associated row."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the ad hoc calculation."},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}],"description":"Panel “Select value” for the inColumn row dimension."},"in":{"type":"array","items":{"type":"object","required":["columnId","value"],"properties":{"columnId":{"type":"string","description":"The identifier of the parent row or column dimension. Must share an axis with, and precede, `inColumn`."},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}],"description":"The dimension value at this parent level."}}},"description":"The dimension values of the parent row above the calculation."},"anchorRow":{"oneOf":[{"type":"string","enum":["subtotal"]},{"type":"string","enum":["data"]}],"description":"The row or column type. Specify `subtotal` for subtotal or grand-total rows and omit for data rows or columns."},"calculations":{"type":"array","items":{"type":"object","required":["columnId","formula"],"properties":{"columnId":{"type":"string","description":"The identifier of the value column this entry applies to."},"formula":{"type":"string","description":"Formula override for this value column in the ad hoc row."}}},"description":"The formula for each value column in this ad hoc row."}}}]},"description":"The ad hoc calculation rows or columns in the pivot table."},"folders":{"type":"array","items":{"allOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"The identifier of the folder."},"name":{"type":"string","description":"The name of the folder."}}},{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns and folders the folder contains."}}}]},"description":"The folders that organize pivot columns on the row, column, and value groups."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to the pivot table and their configurations."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Pivot Table"}],"description":"","title":"Data elements"},{"allOf":[{"type":"object","required":["id","kind","text"],"properties":{"id":{"type":"string","description":"The identifier of the button."},"kind":{"type":"string","enum":["button"]},"text":{"type":"string","description":"The button label and, for an icon-only button, its tooltip text. Supports dynamic `{{formula}}` text."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"appearance":{"oneOf":[{"type":"string","enum":["filled"]},{"type":"string","enum":["outline"]},{"type":"string","enum":["text"]}],"description":"The visual style of the button. Defaults to `filled`."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]},{"type":"string","enum":["stretch"]}],"description":"The horizontal alignment."},"size":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The size of the button."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape for the button. Omit to inherit from the workbook theme."},"fillColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The background fill color. A hex code, `rgb()` value, or theme reference."},"fontColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label text color. A hex code, `rgb()` value, or theme reference."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."},"icon":{"oneOf":[{"allOf":[{"type":"object","required":["type","emoji"],"properties":{"type":{"type":"string","enum":["emoji"]},"emoji":{"type":"string"}},"description":"The emoji character.","title":"Emoji"},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["start"]},{"type":"string","enum":["end"]}],"description":"Whether the icon appears before or after the button label. Defaults to `start`."},"label":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the button label is shown. Set to `hidden` for an icon-only button. Defaults to `shown`."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the icon-only button shows its tooltip. Defaults to `shown`."}}}]},{"allOf":[{"type":"object","required":["type","name","variant"],"properties":{"type":{"type":"string","enum":["icon"]},"name":{"$ref":"#/components/schemas/IconName"},"variant":{"oneOf":[{"type":"string","enum":["filled"]},{"type":"string","enum":["outlined"]},{"type":"string","enum":["toned"]}],"description":"The style of the icon. Required when `type` is `icon`."}},"description":"A named icon (by name and style variant).","title":"Icon"},{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["start"]},{"type":"string","enum":["end"]}],"description":"Whether the icon appears before or after the button label. Defaults to `start`."},"label":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the button label is shown. Set to `hidden` for an icon-only button. Defaults to `shown`."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the icon-only button shows its tooltip. Defaults to `shown`."}}}]}],"description":"The icon displayed in the button."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this button."},"popover":{"type":"object","properties":{"showFilterCount":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the trigger shows the number of modified controls: 'shown' or 'hidden'."}},"description":"Presentation settings for a popover triggered by this button."}}}],"description":"","title":"Button"},{"allOf":[{"$ref":"#/components/schemas/Control"}],"title":"Control"},{"allOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string","description":"The identifier of the divider."},"kind":{"type":"string","enum":["divider"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"direction":{"oneOf":[{"type":"string","enum":["horizontal"]},{"type":"string","enum":["vertical"]}],"description":"The orientation of the divider. Defaults to `horizontal`."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]},{"type":"string","enum":["top"]},{"type":"string","enum":["bottom"]}],"description":"Where to align the divider within its container."},"style":{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The divider stroke color. A hex string (e.g. `#e0e0e0`), `rgb()` value, or theme reference."},"width":{"type":"number","description":"Stroke width in pixels."},"strokeStyle":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke style."}},"description":"The visual customization of the divider stroke, including width, style, and color."}}}],"description":"","title":"Divider"},{"allOf":[{"type":"object","required":["id","kind","url"],"properties":{"id":{"type":"string","description":"The identifier of the embed."},"kind":{"type":"string","enum":["embed"]},"url":{"type":"string","description":"The URL to embed. Supports dynamic `{{formula}}` references."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."}}}],"description":"","title":"Embed"},{"allOf":[{"type":"object","required":["id","kind","source"],"properties":{"id":{"type":"string","description":"The identifier of the image."},"kind":{"type":"string","enum":["image"]},"source":{"oneOf":[{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","description":"The external image URL. Supports dynamic `{{formula}}` text."}},"description":"An external image referenced by URL. Supports dynamic `{{formula}}` text.","title":"External URL"},{"type":"object","required":["kind","key"],"properties":{"kind":{"type":"string","enum":["upload"]},"key":{"type":"string","description":"The identifier for an image uploaded to Sigma."}},"description":"A reference to a previously uploaded image. New images cannot be uploaded via this endpoint.","title":"Uploaded Image"}],"description":"The image source. Either an external URL (supports dynamic `{{formula}}` text) or an image uploaded into Sigma."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"alt":{"type":"string","description":"Alternative text for the image."},"style":{"allOf":[{"type":"object","properties":{"fit":{"oneOf":[{"type":"string","enum":["contain"]},{"type":"string","enum":["cover"]},{"type":"string","enum":["none"]},{"type":"string","enum":["scale-down"]},{"type":"string","enum":["stretch"]}],"description":"How the image fits the container."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the image within its container."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the image within its container."},"tiling":{"oneOf":[{"type":"string","enum":["none"]},{"type":"string","enum":["repeat"]}],"description":"The tiling behavior for the image. `none` displays a single image (default). `repeat` tiles the image to fill the container."}}},{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["rectangle"]},{"type":"string","enum":["circle"]}],"description":"The shape of the image."}}},{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}]}],"description":"The image display options, including fit, alignment, shape, and tiling."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Image"},{"allOf":[{"type":"object","required":["id","kind","source","inputMode"],"properties":{"id":{"type":"string","description":"The identifier of the input table element."},"kind":{"type":"string","enum":["input-table"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["kind","connectionId"],"properties":{"kind":{"type":"string","enum":["empty"]},"connectionId":{"type":"string","description":"The identifier of the connection used to provision the input-table."}}},{"type":"object","properties":{"writebackSchema":{"type":"array","items":{"type":"string"},"description":"For connections with multiple writeback schemas (e.g. OAuth), the schema to provision the input-table into, given as the schema scope path — e.g. `[\"MY_DB\", \"MY_SCHEMA\"]`, or a single-element array on warehouses with a one-part path. Must match a writeback schema configured on the connection and accessible to the requesting user. Omit on single-schema connections to use the default. Create-time only."}}}]},{"allOf":[{"type":"object","required":["kind","from"],"properties":{"kind":{"type":"string","enum":["linked"]},"from":{"type":"string","description":"Id of another element in the spec whose data this input-table links to. Editable rows are matched to source rows by the `key` columns. The connection is inherited from that element."}}},{"type":"object","properties":{"writebackSchema":{"type":"array","items":{"type":"string"},"description":"For connections with multiple writeback schemas (e.g. OAuth), the schema to provision the input-table into, given as the schema scope path — e.g. `[\"MY_DB\", \"MY_SCHEMA\"]`, or a single-element array on warehouses with a one-part path. Must match a writeback schema configured on the connection and accessible to the requesting user. Omit on single-schema connections to use the default. Create-time only."}}}]}],"description":"The source of the input table. Set `kind` to `empty` with a `connectionId` to create a new table, or to `linked` with `from` to link to another element's data."},"inputMode":{"oneOf":[{"type":"string","enum":["edit"],"description":"Editable in the draft only, by users with Can edit access."},{"type":"string","enum":["explore"],"description":"Editable in the published version by users with Can explore or Can edit access."},{"type":"string","enum":["view"],"description":"Editable in the published version by users with Can view, Can explore, or Can edit access."}],"description":"The data entry permission for the input table. See the individual values for the access each one requires."}}},{"type":"object","properties":{"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"oneOf":[{"type":"string"},{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}}}],"description":"The description text for the input table, with optional styling."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The element style options, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"noDataText":{"type":"string","description":"The label displayed when the input table contains no data."},"tableComponents":{"type":"object","properties":{"table":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the input table body grid is shown. Set to `hidden` to hide it."},"summaryBar":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The summary bar display options for the input table."}},"description":"The display options for the table grid and summary bar."},"tableStyle":{"allOf":[{"$ref":"#/components/schemas/TableStyle"}],"description":"The table style options, including grid preset, spacing, grid lines, banding, autofit, dividers, and text styles for headers and cells."},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id"],"properties":{"id":{"oneOf":[{"type":"string","enum":["ID"]},{"type":"string","enum":["CREATED_AT"]},{"type":"string","enum":["CREATED_BY"]},{"type":"string","enum":["UPDATED_AT"]},{"type":"string","enum":["UPDATED_BY"]}],"description":"The identifier of a system column. Data type is fixed."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}}]},{"allOf":[{"type":"object","required":["id","key"],"properties":{"id":{"type":"string","description":"The identifier of the key column in this input table."},"key":{"type":"string","description":"The identifier of the linked source column that this column's values must match. Cannot be changed after creation."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}}]},{"allOf":[{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"The identifier of the warehouse column."},"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["datetime"]},{"type":"string","enum":["checkbox"]},{"type":"string","enum":["multi-select"]},{"type":"string","enum":["file"]}],"description":"Data type of the column."}}},{"type":"object","properties":{"values":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"The allowed values for the column, presented as a dropdown. Cannot be specified if `valuesFrom` is specified."},"valuesFrom":{"type":"object","required":["element","column"],"properties":{"element":{"type":"string","description":"The identifier of the element that supplies the list of selectable options."},"column":{"type":"string","description":"The identifier of the column on the specified element to read values of selectable options from."}},"description":"The element and column supplying this column's option list. Cannot be specified if `values` is specified. Not valid alongside `range`."},"range":{"oneOf":[{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}},{"type":"object","properties":{"min":{"type":"string","description":"The selected date to filter on, in ISO 8601 format."},"max":{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}}}],"description":"Min/max bounds for a number or datetime column. Datetime bounds must be in ISO-8601 format. The range is inclusive."},"maxFileNum":{"type":"number","description":"Maximum number of files per cell (file columns only)."},"maxFileSizeMb":{"type":"number","description":"Maximum size per file in MB, 1–200 (file columns only)."},"acceptedFileTypes":{"type":"array","items":{"type":"string"},"description":"The allowed file MIME types. Defaults to all types. Passing any type of a MIME family (e.g. `application/msword`) selects the whole family. A round-trip expands the list to every type in the selected family."},"pills":{"oneOf":[{"type":"string","enum":["single-color"]},{"type":"string","enum":["color-by-option"]}],"description":"The display style of pills for select column options. Omit to show plain text."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}}]},{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the formula column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}}]}]},"description":"The columns in the input table."},"conditionalFormats":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["single"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","formula"],"properties":{"condition":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula for a conditional formatting rule. Can reference any column in the element. Must return a boolean."}}}]},{"type":"object","properties":{"style":{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string","enum":["none"]}],"description":"The cell background color as a hex code, or `none` for no fill. Omit to use the default highlight."},"color":{"type":"string","description":"The font color, as a hex code."},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"underline":{"type":"boolean"},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"Number or datetime override, in d3 format, for the displayed value. E.g., `#,##0.00` for thousands separators and two decimals."}}}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["backgroundScale"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The hex colors that define the gradient, as an array of 2 or more colors."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."},"mid":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The midpoint value for a diverging color scale. Omit for a sequential scale."}}},"order":{"oneOf":[{"type":"string","enum":["descending"]},{"type":"string","enum":["ascending"]}]},"nullBehavior":{"oneOf":[{"type":"string","enum":["asZero"]},{"type":"string","enum":["asNull"]}]},"steps":{"type":"number","description":"Quantize the continuous gradient into N discrete buckets."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fontScale"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The hex colors that define the gradient, as an array of 2 or more colors."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."},"mid":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The midpoint value for a diverging color scale. Omit for a sequential scale."}}},"order":{"oneOf":[{"type":"string","enum":["descending"]},{"type":"string","enum":["ascending"]}]},"nullBehavior":{"oneOf":[{"type":"string","enum":["asZero"]},{"type":"string","enum":["asNull"]}]},"steps":{"type":"number"}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["dataBars"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The hex colors that define the gradient, as an array of 2 or more colors."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."},"mid":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The midpoint value for a diverging color scale. Omit for a sequential scale."}}},"order":{"oneOf":[{"type":"string","enum":["descending"]},{"type":"string","enum":["ascending"]}]},"valueLabels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"string","enum":["shown"]}]}}}]}]},"description":"Conditional formatting rules applied to columns of this input table. Later rules take precedence over earlier rules."},"summary":{"type":"array","items":{"type":"string"},"description":"The identifiers of aggregate columns in the summary bar. Each identifier must also be defined in `columns`."},"sort":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How the sort order treats null values."}}}]},"description":"The column, direction, and null placement used to sort rows. Supports multiple sort rules applied in order."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this input-table and their configurations."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}],"description":"","title":"Input Table"},{"allOf":[{"type":"object","required":["id","kind","pluginId"],"properties":{"id":{"type":"string","description":"The identifier of the plugin element."},"kind":{"type":"string","enum":["plugin"]},"pluginId":{"type":"string","description":"The identifier of the plugin to render in this element."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"displayName":{"type":"string","description":"Deprecated: use `name`. Emitted on read with the same value as `name`, and accepted on write when `name` is absent."},"config":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"boolean"},{"type":"array","items":{"type":"string"}},{"oneOf":[{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["element"]},"elementId":{"type":"string","description":"The element ID of the data source for this plugin."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"Which grouping level of the source element the plugin reads data from. Omit for ungrouped, row-level data."}}}],"description":"","title":"Element reference"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["column"]},"source":{"type":"string","description":"The name of the `config` entry that specifies an element reference (`kind: \"element\"`) that supplies the columns used by the plugin."}}},{"oneOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The identifier of a single column in the source element."}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of columns in the source element."}}}]}],"description":"","title":"Column reference"},{"type":"object","required":["kind","controlId"],"properties":{"kind":{"type":"string","enum":["control"]},"controlId":{"type":"string","description":"The control ID whose value feeds this configuration entry. E.g., `my-date-control`."}},"description":"","title":"Control reference"},{"type":"object","required":["kind","actionEffectId"],"properties":{"kind":{"type":"string","enum":["action-effect"]},"actionEffectId":{"type":"string","description":"The identifier of the action effect."}},"description":"","title":"Action effect reference"},{"type":"object","required":["kind","actionTriggerId"],"properties":{"kind":{"type":"string","enum":["action-trigger"]},"actionTriggerId":{"type":"string","description":"The identifier of the action trigger."}},"description":"","title":"Action trigger reference"}]}]},"description":"The inputs for the plugin, specified by the property names declared in the plugin. Property names are not validated by this API."},"style":{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"The element background color. A hex string (e.g. `#ffffff`), `rgb()` value, theme reference, or `transparent`."}},"description":"The visual styling of the plugin element."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered by this plugin's own `action-trigger` config entries."}}}],"description":"","title":"Plugin"},{"allOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string","description":"The identifier of the progress element."},"kind":{"type":"string","enum":["progress"]}}},{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["bar"]},{"type":"string","enum":["ring"]}],"description":"Whether to render as a horizontal `bar` (default) or a `ring`."},"mode":{"oneOf":[{"type":"string","enum":["percent"]},{"type":"string","enum":["value"]}],"description":"The fill mode for progress. One of `percent` (value relative to min/max) or `value` (raw value). Defaults to `percent`."},"value":{"type":"string","description":"The formula for the current value. E.g. `Sum([Sales])` or `42`."},"min":{"type":"string","description":"The formula for the lower bound of the range. Only applies in value mode, where it defaults to `0`."},"max":{"type":"string","description":"The formula for the upper bound of the range. Only applies in value mode, where it defaults to the current value."},"config":{"type":"object","properties":{"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The element background, border, and padding."},"format":{"type":"object","properties":{"fillColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Color of the filled portion of the bar/ring."},"trackColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Color of the unfilled track behind the fill."},"size":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The thickness of the bar or diameter of the ring. Defaults to `medium`."},"horizontalAlign":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the bar or ring within the element."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of the bar or ring within the element."}},"description":"The fill and track colors, size, and alignment of the bar or ring."},"label":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this text is shown."},"text":{"type":"string","description":"Text content. Supports dynamic `{{formula}}` text."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size with the element."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The text color."}},"description":"The styling of the label text."},"value":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this text is shown."},"text":{"type":"string","description":"Text content. Supports dynamic `{{formula}}` text."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size with the element."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The text color."}},"description":"The styling of the value text."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether this text is shown."},"text":{"type":"string","description":"Text content. Supports dynamic `{{formula}}` text."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"fontSize":{"oneOf":[{"type":"number"},{"type":"string","enum":["auto"]}],"description":"The font size in pixels, or `auto` to size with the element."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The text color."}},"description":"The styling of the description text."},"colorRules":{"type":"array","items":{"oneOf":[{"type":"object","required":["color","formula"],"properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The fill color applied when the formula is true."},"formula":{"type":"string","description":"The boolean formula that determines when the color applies."}}},{"allOf":[{"type":"object","required":["color"],"properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The fill color applied when the condition is true. Otherwise, the element's fill color applies."}}},{"oneOf":[{"type":"object","required":["condition","value"],"properties":{"condition":{"type":"string","enum":["=","!=",">",">=","<","<="]},"value":{"type":"number"}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"type":"string","enum":["Between","NotBetween"]},"low":{"type":"number"},"high":{"type":"number"}}}]},{"type":"object","properties":{"applyTo":{"oneOf":[{"type":"string","enum":["value"]},{"type":"string","enum":["percentage"]}],"description":"Whether to compare against the raw `value` (default) or filled `percentage`."}}}]}]},"description":"The conditional fill colors, evaluated top to bottom."}},"description":"The visual customization of the progress bar."}}}],"description":"","title":"Progress"},{"allOf":[{"type":"object","required":["id","kind","body"],"properties":{"id":{"type":"string","description":"The identifier of the text element."},"kind":{"type":"string","enum":["text"]},"body":{"type":"string","description":"Markdown body. Supports a deliberate subset: paragraphs, headings (#, ##, ###), bullet/ordered lists, soft and hard breaks, **bold**, *italic*, ~~strikethrough~~, [links](url) (open in a new window by default; use <a href=\"url\" target=\"_self\"> for same-window), inline HTML <u>/<sub>/<sup>/<span style=\"...\"> carrying any of color, background-color (hex), font-size (integer px), and font-family, plus {{formula}} segments (same {{ast | fmt}} syntax used by element titles). Paragraph alignment and the p-large/p-small block styles use a <p> wrapper, e.g. <p class=\"p-large\" style=\"text-align: center\">…</p> (aligned headings too: <p class=\"h-med\" style=\"text-align: center\">…</p>); unaligned headings stay #/##/### and default paragraphs stay bare. UI-authored features outside this subset (list-item color) come back as their closest supported neighbor on read."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"Vertical alignment of text within the element. Defaults to `top`."},"overflow":{"oneOf":[{"type":"string","enum":["clip"]},{"type":"string","enum":["scroll"]}],"description":"Overflow behavior when content exceeds the element. Defaults to `clip`."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."}}}],"description":"","title":"Text"},{"allOf":[{"type":"object","required":["id","kind","fields"],"properties":{"id":{"type":"string","description":"The identifier of the value list element."},"kind":{"type":"string","enum":["value-list"]},"fields":{"type":"array","items":{"allOf":[{"type":"object","required":["fieldId","formula"],"properties":{"fieldId":{"type":"string","description":"Field id used to reference this field in formulas."},"formula":{"type":"string","description":"Formula text for the field value."}}},{"type":"object","properties":{"label":{"type":"string","description":"Display label for the field."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"Number or date display format for the field value."}}}],"description":"A single field in a value list."},"description":"The fields shown in this value list, in display order."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The element background, border, and padding."},"hasGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether a gap is shown between fields."},"spacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"Gap/padding size between fields."},"fieldLayout":{"oneOf":[{"allOf":[{"type":"object","required":["layoutType"],"properties":{"layoutType":{"type":"string","enum":["grid"]}}},{"type":"object","properties":{"labelWidth":{"oneOf":[{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"Label column width as a fraction. Defaults to 0.25."},"labelConfig":{"type":"object","properties":{"fontSize":{"type":"number","description":"Font size in pixels. Defaults to 14."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"Font weight. Defaults to 'normal'."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Styling applied to every field label."},"valueConfig":{"type":"object","properties":{"fontSize":{"type":"number","description":"Font size in pixels. Defaults to 14."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"Font weight. Defaults to 'normal'."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Styling applied to every field value."}}}]},{"allOf":[{"type":"object","required":["layoutType"],"properties":{"layoutType":{"type":"string","enum":["stacked"]}}},{"type":"object","properties":{"maxColumns":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]},{"type":"number","enum":[6]},{"type":"number","enum":[7]},{"type":"number","enum":[8]}],"description":"Number of columns. Defaults to 4."},"labelConfig":{"type":"object","properties":{"fontSize":{"type":"number","description":"Font size in pixels. Defaults to 14."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"Font weight. Defaults to 'normal'."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Styling applied to every field label."},"valueConfig":{"type":"object","properties":{"fontSize":{"type":"number","description":"Font size in pixels. Defaults to 14."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"Font weight. Defaults to 'normal'."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Styling applied to every field value."}}}]},{"allOf":[{"type":"object","required":["layoutType"],"properties":{"layoutType":{"type":"string","enum":["compact"]}}},{"type":"object","properties":{"labelConfig":{"type":"object","properties":{"fontSize":{"type":"number","description":"Font size in pixels. Defaults to 14."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"Font weight. Defaults to 'normal'."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Styling applied to every field label."},"valueConfig":{"type":"object","properties":{"fontSize":{"type":"number","description":"Font size in pixels. Defaults to 14."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"Font weight. Defaults to 'normal'."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Styling applied to every field value."}}}]},{"allOf":[{"type":"object","required":["layoutType"],"properties":{"layoutType":{"type":"string","enum":["separated"]}}},{"type":"object","properties":{"labelConfig":{"type":"object","properties":{"fontSize":{"type":"number","description":"Font size in pixels. Defaults to 14."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"Font weight. Defaults to 'normal'."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Styling applied to every field label."},"valueConfig":{"type":"object","properties":{"fontSize":{"type":"number","description":"Font size in pixels. Defaults to 14."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"Font weight. Defaults to 'normal'."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}},"description":"Styling applied to every field value."}}}]}],"description":"Layout and text styling shared across all fields. Defaults to a grid layout."}}}],"description":"","title":"Value list"}]},"Form":{"allOf":[{"type":"object","required":["id","kind","fields"],"properties":{"id":{"type":"string","description":"The identifier of the form."},"kind":{"type":"string","enum":["form"]},"fields":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["fieldId","type"],"properties":{"fieldId":{"type":"string","description":"The identifier used to reference this field in formulas and actions."},"type":{"oneOf":[{"type":"string","enum":["short-text"]},{"type":"string","enum":["long-text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["date"]},{"type":"string","enum":["checkbox"]}],"description":"A text, number, date, or checkbox input."}}},{"type":"object","properties":{"label":{"type":"string","description":"The label shown for the field."},"placeholder":{"type":"string","description":"Placeholder text shown while the field is empty."},"validation":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"min":{"type":"number","description":"The minimum allowed value."},"max":{"type":"number","description":"The maximum allowed value."}}}],"description":"","title":"Number range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"type":"object","properties":{"min":{"type":"string","description":"The earliest allowed date, in ISO 8601 format."},"max":{"type":"string","description":"The latest allowed date, in ISO 8601 format."}}}],"description":"","title":"Date range"},{"allOf":[{"type":"object","required":["kind","mode","value"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["matches-like-pattern"]},{"type":"string","enum":["does-not-match-like-pattern"]},{"type":"string","enum":["equals"]},{"type":"string","enum":["not-equals"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"How the entered text is compared against `value`. One of `contains`, `starts-with`, `ends-with`, `equals`, `matches-like-pattern`, `matches-regexp`, or their negations."},"value":{"type":"string","description":"The text string to match against."}}},{"type":"object","properties":{"caseSensitive":{"type":"boolean","description":"Whether the comparison is case-sensitive. Defaults to `false`."}}}],"description":"","title":"Text match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["file"]}}},{"type":"object","properties":{"maxFileSizeMb":{"type":"number","description":"The maximum size per file, in megabytes."},"acceptedFileTypes":{"type":"array","items":{"type":"string"},"description":"The allowed file MIME types. Defaults to all types. Passing any type of a MIME family (e.g. `application/msword`) selects the whole family. A round-trip expands the list to every type in the selected family."}}}],"description":"","title":"File"}],"description":"The validation rule for the field."},"hintText":{"type":"string","description":"Hint text shown beneath the field."}}},{"type":"object","properties":{"rules":{"type":"object","properties":{"readOnly":{"type":"string","enum":["read-only"],"description":"Set to `read-only` to prevent editing the field."},"requiredInput":{"type":"string","enum":["required"],"description":"Set to `required` when the field must be filled before the form is submitted."}},"description":"Rules that apply to the field."},"defaultValue":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["static"]},"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}],"description":"A static default scalar value."},{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"boolean"}}],"description":"The pre-selected option for a single-select field, or an array of options for a multi-select field."}],"description":"The static initial value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"Formula text for the initial value."}}}],"description":"The field default value."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The number display format. Only applies to number fields."}}}],"description":"","title":"Simple field"},{"allOf":[{"type":"object","required":["fieldId","type"],"properties":{"fieldId":{"type":"string","description":"The identifier used to reference this field in formulas and actions."},"type":{"type":"string","enum":["file-upload"],"description":"A file-upload input."}}},{"type":"object","properties":{"label":{"type":"string","description":"The label shown for the field."},"placeholder":{"type":"string","description":"Placeholder text shown while the field is empty."},"validation":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"min":{"type":"number","description":"The minimum allowed value."},"max":{"type":"number","description":"The maximum allowed value."}}}],"description":"","title":"Number range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"type":"object","properties":{"min":{"type":"string","description":"The earliest allowed date, in ISO 8601 format."},"max":{"type":"string","description":"The latest allowed date, in ISO 8601 format."}}}],"description":"","title":"Date range"},{"allOf":[{"type":"object","required":["kind","mode","value"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["matches-like-pattern"]},{"type":"string","enum":["does-not-match-like-pattern"]},{"type":"string","enum":["equals"]},{"type":"string","enum":["not-equals"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"How the entered text is compared against `value`. One of `contains`, `starts-with`, `ends-with`, `equals`, `matches-like-pattern`, `matches-regexp`, or their negations."},"value":{"type":"string","description":"The text string to match against."}}},{"type":"object","properties":{"caseSensitive":{"type":"boolean","description":"Whether the comparison is case-sensitive. Defaults to `false`."}}}],"description":"","title":"Text match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["file"]}}},{"type":"object","properties":{"maxFileSizeMb":{"type":"number","description":"The maximum size per file, in megabytes."},"acceptedFileTypes":{"type":"array","items":{"type":"string"},"description":"The allowed file MIME types. Defaults to all types. Passing any type of a MIME family (e.g. `application/msword`) selects the whole family. A round-trip expands the list to every type in the selected family."}}}],"description":"","title":"File"}],"description":"The validation rule for the field."},"hintText":{"type":"string","description":"Hint text shown beneath the field."}}},{"type":"object","properties":{"rules":{"type":"object","properties":{"requiredInput":{"type":"string","enum":["required"],"description":"Set to 'required' when at least one file is required before submit."},"fileSelection":{"type":"string","enum":["multiple"],"description":"Set to 'multiple' when the field accepts multiple files."},"restrictNumberOfFiles":{"type":"number","description":"The maximum number of files allowed when `fileSelection` is `multiple`."}},"description":"Rules that apply to the field."},"defaultValue":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["static"]},"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}],"description":"A static default scalar value."},{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"boolean"}}],"description":"The pre-selected option for a single-select field, or an array of options for a multi-select field."}],"description":"The static initial value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"Formula text for the initial value."}}}],"description":"The field default value."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The number display format. Only applies to number fields."}}}],"description":"","title":"File upload field"},{"allOf":[{"type":"object","required":["fieldId","type","source"],"properties":{"fieldId":{"type":"string","description":"The identifier used to reference this field in formulas and actions."},"type":{"oneOf":[{"type":"string","enum":["dropdown"]},{"type":"string","enum":["segmented-choice"]},{"type":"string","enum":["radio-group"]},{"type":"string","enum":["checkbox-group"]}],"description":"The type of choice input, such as a dropdown or a radio group."},"source":{"oneOf":[{"allOf":[{"type":"object","required":["kind","valueType"],"properties":{"kind":{"type":"string","enum":["manual"]},"valueType":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["date"]},{"type":"string","enum":["logical"]}],"description":"The data type of the choice values."}}},{"type":"object","properties":{"options":{"type":"array","items":{"allOf":[{"type":"object","required":["value"],"properties":{"value":{"oneOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}]}}},{"type":"object","properties":{"displayValue":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"Optional display text for this option."}}}]},"description":"Manual values and their optional display values."}}}],"description":"","title":"Manual"},{"allOf":[{"type":"object","required":["kind","source","columnId"],"properties":{"kind":{"type":"string","enum":["source"]},"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column used as a value source for the control."}}},{"type":"object","properties":{"displayColumnId":{"type":"string","description":"The identifier of the column containing display names for the control values."}}}],"description":"","title":"Source"},{"type":"object","required":["kind","elementId","columnId"],"properties":{"kind":{"type":"string","enum":["input-table-column"]},"elementId":{"type":"string","description":"The input table element whose column supplies the options."},"columnId":{"type":"string","description":"The identifier of the column whose restricted values are the options."}},"description":"","title":"Input-table column"}],"description":"The source for options. Either a manual list or values from a column."}}},{"type":"object","properties":{"label":{"type":"string","description":"The label shown for the field."},"placeholder":{"type":"string","description":"Placeholder text shown while the field is empty."},"validation":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"min":{"type":"number","description":"The minimum allowed value."},"max":{"type":"number","description":"The maximum allowed value."}}}],"description":"","title":"Number range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"type":"object","properties":{"min":{"type":"string","description":"The earliest allowed date, in ISO 8601 format."},"max":{"type":"string","description":"The latest allowed date, in ISO 8601 format."}}}],"description":"","title":"Date range"},{"allOf":[{"type":"object","required":["kind","mode","value"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["matches-like-pattern"]},{"type":"string","enum":["does-not-match-like-pattern"]},{"type":"string","enum":["equals"]},{"type":"string","enum":["not-equals"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"How the entered text is compared against `value`. One of `contains`, `starts-with`, `ends-with`, `equals`, `matches-like-pattern`, `matches-regexp`, or their negations."},"value":{"type":"string","description":"The text string to match against."}}},{"type":"object","properties":{"caseSensitive":{"type":"boolean","description":"Whether the comparison is case-sensitive. Defaults to `false`."}}}],"description":"","title":"Text match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["file"]}}},{"type":"object","properties":{"maxFileSizeMb":{"type":"number","description":"The maximum size per file, in megabytes."},"acceptedFileTypes":{"type":"array","items":{"type":"string"},"description":"The allowed file MIME types. Defaults to all types. Passing any type of a MIME family (e.g. `application/msword`) selects the whole family. A round-trip expands the list to every type in the selected family."}}}],"description":"","title":"File"}],"description":"The validation rule for the field."},"hintText":{"type":"string","description":"Hint text shown beneath the field."}}},{"type":"object","properties":{"selection":{"oneOf":[{"type":"string","enum":["single"]},{"type":"string","enum":["multiple"]}],"description":"For a `dropdown` field, whether the dropdown is 'single' or 'multiple' selection."},"rules":{"type":"object","properties":{"readOnly":{"type":"string","enum":["read-only"],"description":"Set to `read-only` to prevent editing the field."},"requiredInput":{"type":"string","enum":["required"],"description":"Set to `required` when the field must be filled before the form is submitted."}},"description":"Rules that apply to the field."},"sort":{"type":"object","required":["by","direction"],"properties":{"by":{"oneOf":[{"type":"string","enum":["value"]},{"type":"string","enum":["count"]}],"description":"The sort order for options. One of `value` (alphanumeric) or `count` (frequency)."},"direction":{"oneOf":[{"type":"string","enum":["asc"]},{"type":"string","enum":["desc"]}],"description":"The sort direction."}},"description":"How the options are ordered. Defaults to ascending alphabetical."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"Option display format for number or date options."},"defaultValue":{"oneOf":[{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["static"]},"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}],"description":"A static default scalar value."},{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"boolean"}}],"description":"The pre-selected option for a single-select field, or an array of options for a multi-select field."}],"description":"The static initial value."}}},{"type":"object","required":["type","formula"],"properties":{"type":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"Formula text for the initial value."}}}],"description":"The field default value."}}}],"description":"","title":"Choice field"}]},"description":"The form fields, in display order."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name, shown in the page overview and the element inspector."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"Set to `'none'` to drop form padding."}}},{"type":"object","properties":{"backgroundColor":{"type":"string","description":"Form background color (hex)."},"corner":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"spacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The element spacing preset."},"fieldGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether a gap between fields is shown. Defaults to `shown`."}}}]},{"type":"object","properties":{"backgroundColor":{"type":"string","description":"Form background color (hex)."},"corner":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"oneOf":[{"type":"number","enum":[0]},{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]}],"description":"Border width in pixels. `0` means no border."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"Border color (hex, rgb(), or theme reference)."},"spacing":{"oneOf":[{"type":"string","enum":["small"]},{"type":"string","enum":["medium"]},{"type":"string","enum":["large"]}],"description":"The element spacing preset."},"fieldGap":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether a gap between fields is shown. Defaults to `shown`."}}}],"description":"Visual styling: background color, border, corners, padding, and field spacing."},"header":{"type":"object","properties":{"title":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the text is shown."},"text":{"type":"string","description":"The text content. Supports dynamic `{{formula}}` text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The text color."},"fontSize":{"type":"number","description":"The font size in pixels. One of `6` through `96`."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}},"description":"The form title and its styling."},"description":{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the text is shown."},"text":{"type":"string","description":"The text content. Supports dynamic `{{formula}}` text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The text color."},"fontSize":{"type":"number","description":"The font size in pixels. One of `6` through `96`."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight."}},"description":"The form description and its styling."}},"description":"The title and description configuration."},"fieldLabels":{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"The position of the field labels. Defaults to `top`."},"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The width of the field label as a fraction of the field row."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}},"description":"The field label placement and styling."},"footer":{"type":"object","properties":{"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]},{"type":"string","enum":["stretch"]}],"description":"The button row alignment."},"primary":{"type":"object","properties":{"label":{"type":"string","description":"The button label. Supports dynamic `{{formula}}` text."},"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the button is shown."}},"description":"The primary (submit) button. Defaults to \"Submit\"."},"secondary":{"type":"object","properties":{"label":{"type":"string","description":"The button label. Supports dynamic `{{formula}}` text."},"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the button is shown."}},"description":"The secondary (reset) button. Defaults to \"Reset form\"."},"tertiary":{"type":"object","properties":{"label":{"type":"string","description":"The button label. Supports dynamic `{{formula}}` text."},"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the button is shown."}},"description":"The tertiary button."}},"description":"The submit, reset, and tertiary button labels, visibility, and alignment."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}]},"IconName":{"type":"string","enum":["Accessibility","Action","Ai","AlignBottom","AlignCenterHorizontal","AlignCenterVertical","AlignLeft","AlignRight","AlignStretch","AlignTop","AlloyDb","Anchor","Api","Apps","Array","ArrowDown","ArrowDownCircle","ArrowDownShort","ArrowLeft","ArrowLeftCircle","ArrowLeftShort","ArrowRight","ArrowRightCircle","ArrowRightShort","ArrowUp","ArrowUpCircle","ArrowUpDown","ArrowUpShort","At","Auto","Aws","AxisXBottom","AxisXTop","AxisYLeft","AxisYRight","Azure","Ban","BanCircle","Bars","Bell","BigQuery","Blank","Blocks","Bold","Book","Bookmark","BordersAll","BordersDivider","BordersHorizontal","BordersNone","BordersVertical","Brand1","Brand2","Brand3","Brand4","Brand5","Brand6","BreakLink","Bricks","Bucket","BucketArrow","Button","Calendar","CaretDown","CaretUp","Chat","Check","CheckCircle","CheckDouble","CheckSquare","ChevronLargeDoubleDown","ChevronLargeDoubleLeft","ChevronLargeDoubleRight","ChevronLargeDoubleUp","ChevronLargeDown","ChevronLargeLeft","ChevronLargeRight","ChevronLargeUp","ChevronSmallDoubleDown","ChevronSmallDoubleLeft","ChevronSmallDoubleRight","ChevronSmallDoubleUp","ChevronSmallDown","ChevronSmallLeft","ChevronSmallRight","ChevronSmallUp","Circle","CircleSmall","Clickhouse","Clock","Cloud","CloudDownload","CloudUpload","Cold","ColumnMove","Compass","Confluence","Container","Controls","Copy","CornerPill","CornerRounded","CornerSquare","CrossOrg","Crosshairs","Dashboard","DataModel","DataModelElement","Database","DatabaseMove","DatabaseSimple","Databricks","Dataset","Dbt","Desktop","Document","DocumentCsv","DocumentPdf","DocumentSql","Dollar","Download","DragHandle","DragShift","Dropdown","DropdownTrigger","Duplicate","EditorPython","EditorSql","EllipsisHorizontal","EllipsisVertical","EmailBurst","Embed","Envelope","EnvelopeBurst","EnvelopeOpen","Epsilon","EpsilonSquare","Eraser","Exclamation","ExclamationCircle","ExclamationOctagon","ExclamationSquare","ExclamationTriangle","ExpandPreview","Explore","Export","Eye","EyeDropper","EyeSlash","Family","Flag","Folder","Form","FormatDecrease","FormatIncrease","FormatSeparateColumns","FormatSingleColumn","Funnel","Fx","Gear","Git","Globe","GoogleAds","GoogleCloud","GoogleDrive","GoogleSheets","GridBlocks","GridDots","Header","Hierarchy","Highlight","Hightouch","Home","HorizonElementBlocks","HorizonElementCharts","HorizonElementControls","HorizonElementData","HorizonElementInput","HorizonElementLayout","HorizonElementUi","Hot","Image","InfoCircle","Italic","Join","Key","Layout","LayoutColumn","LayoutGroup","LayoutRow","LayoutStackHorizontal","LayoutStackVertical","Letter","Lightning","Limit","Line","Lineage","Link","List","ListBullets","ListCheck","ListNumbers","ListOverview","ListRadioButton","ListShapes","ListValue","ListYesNo","Lock","Logical","Lookup","MagnifyingGlass","MapExplore","MapPin","Mariadb","MarkSize","Materialization","Maximize","Mcp","Microphone","Microsoft","Minimize","Minus","MinusAlt","MinusCircle","MinusSquare","Mobile","Modal","ModalClose","ModalOpen","Moon","MotherDuck","MsTeams","MySql","Number","NumberHierarchy","Octagon","Office","Offline","OpenNew","PageBreak","Pages","PaintBrush","PaintBucket","PaintRoller","Palette","PasswordReset","Pause","PauseCircle","Pencil","PencilBox","Percent","Phi","Play","PlayCircle","PlayDesktop","PlugsElectronics","Plus","PlusCircle","PlusCircleSubtle","PlusSquare","PostgreSql","ProgressBar","ProgressRing","Puzzle","Python","QuestionCircle","RangeSlider","ReLink","Record","Rectangle","Redo","Redshift","Refresh","RefreshCircle","Reload","Replay","Report","Robot","RowPlus","RowX","Scissors","Section","SegmentedControl","Shapes","Share","Sharepoint","Shield","Shortcut","Sidebar","SidebarHidden","SidebarVisible","Sigma","Skills","Slack","Slider","Snapshot","Snowflake","SortAscending","SortDescending","Spacer","SpeechBubble","Spin","SqlServer","Square","SquareSmall","Star","Starburst","Store","Strikethrough","Subscript","Sun","Superscript","Switch","Table","Tabs","Tag","Tags","Team","Template","Tenants","Text","TextAlignCenter","TextAlignLeft","TextAlignRight","TextArea","TextClip","TextColor","TextWrap","Textbox","TextboxNumber","ThumbsUp","TileClone","Tooltip","Transparent","Transpose","Trash","Trellis","Triangle","Trino","UnNest","Underline","Undo","Union","Unlock","Upload","Usage","User","UserCard","UserCircle","UserSwap","Variant","Vault","ViewExtend","VizArea","VizAreaStacked","VizAreaStackedPercent","VizAreaUnstacked","VizBarHorizontal","VizBarStacked","VizBarStackedPercent","VizBarUnstacked","VizBarVertical","VizBox","VizCombo","VizDonut","VizFunnel","VizGauge","VizHighlight","VizInputTable","VizInputTableLinked","VizKpi","VizLine","VizMap","VizPie","VizPivotTable","VizPlaceholder","VizSankey","VizScatter","VizSingleValue","VizTable","VizTreemap","VizWaterfall","Wand","Webhooks","Workbook","WorkbookExplorations","WorkbookForModifiers","WorkbookTemplate","Worksheet","Workspace","X","XCircle","XSquare"]},"Table":{"allOf":[{"type":"object","required":["id","kind","columns","source"],"properties":{"id":{"type":"string","description":"The identifier of the table."},"kind":{"type":"string","enum":["table"]},"columns":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"formula":{"type":"string","description":"The formula or column reference that defines the column's values."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"Horizontal alignment of cell content: left, center, or right."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of cell content."},"width":{"type":"number","description":"The column width in pixels. Overrides auto-sizing."},"backgroundColor":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The cell background color. Either a theme reference (`{ kind: theme, ref }`) or a hex code (`#rgb` or `#rrggbb`)."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The cell text color, as a hex code or theme reference."},"textWrap":{"oneOf":[{"type":"string","enum":["wrap"]},{"type":"string","enum":["clip"]}],"description":"The text overflow behavior."}},"description":"The grid presentation for this column, including alignment, width, colors, and text wrap."},"link":{"oneOf":[{"type":"object","required":["kind","columnId"],"properties":{"kind":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The identifier of the column of URLs. Required when `kind` is `column`."}}},{"type":"object","required":["kind","formula"],"properties":{"kind":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that constructs the hyperlink URL. Must output Text data type. E.g., `Concat(\"https://example.com/?id=\", [Store Id])`."}}}],"description":"The hyperlink target for this column. Either another column containing URLs, or a formula that constructs one."}}}]},{"allOf":[{"type":"object","required":["id","ai"],"properties":{"id":{"type":"string","description":"The identifier of the column."},"ai":{"allOf":[{"type":"object","required":["type","model","prompt","run"],"properties":{"type":{"type":"string","enum":["complete"]},"model":{"type":"string","description":"The model that answers the prompt, by its short catalog name (e.g. `claude-sonnet-4-5`). A model that is not in the catalog reads back as the raw warehouse-specific id instead."},"prompt":{"type":"string","description":"The prompt sent to the model for each row. Supports dynamic `{{formula}}` references to other columns, e.g. `Summarize this call: {{[Transcript]}}`."},"run":{"oneOf":[{"type":"string","enum":["manual"]},{"type":"string","enum":["auto"]}],"description":"Whether the column regenerates automatically when its inputs change (`auto`), or only when a person triggers it from the app (`manual`)."}}},{"type":"object","properties":{"responseFormat":{"type":"object","additionalProperties":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["integer"]},{"type":"string","enum":["boolean"]},{"type":"string","enum":["datetime"]}],"description":"The field's scalar data type."}}},{"type":"object","properties":{"description":{"type":"string","description":"A hint to the model describing what the field should contain."}}}],"type":"object"},"description":"Structured output fields the model returns, keyed by field name. Omit for plain text output. Fields must be scalar (`text`, `number`, `integer`, `boolean`, or `datetime`); nested fields are not supported."}}}],"description":"The AI configuration that generates this column. Creating a column and changing one are both supported; a change that would alter which columns the prompt references is rejected, since the cached results would no longer match."}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name of the column."},"description":{"type":"string","description":"The description of the column."},"hidden":{"type":"boolean","description":"Whether the column is hidden from view."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."}}},{"type":"object","properties":{"image":{"oneOf":[{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fixed"]}}},{"type":"object","properties":{"height":{"type":"number","description":"Fixed image cell height in pixels."},"width":{"type":"number","description":"Fixed image cell width in pixels."},"preserveAspectRatio":{"oneOf":[{"type":"string","enum":["preserve"]},{"type":"string","enum":["stretch"]}],"description":"How to size the image. Set to `preserve` to fit the image within the specified height and width while maintaining its aspect ratio. Set to `stretch` to fill the available dimensions."}}}]},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["original"]}}}]},{"type":"null"}],"description":"Image display options for a text column containing URLs. Set to `null` to stop rendering the column as images."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The sparkline display options for the column."}}},{"type":"object","properties":{"style":{"type":"object","properties":{"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"Horizontal alignment of cell content: left, center, or right."},"verticalAlign":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["center"]},{"type":"string","enum":["bottom"]}],"description":"The vertical alignment of cell content."},"width":{"type":"number","description":"The column width in pixels. Overrides auto-sizing."},"backgroundColor":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The cell background color. Either a theme reference (`{ kind: theme, ref }`) or a hex code (`#rgb` or `#rrggbb`)."},"color":{"oneOf":[{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string"}],"description":"The cell text color, as a hex code or theme reference."},"textWrap":{"oneOf":[{"type":"string","enum":["wrap"]},{"type":"string","enum":["clip"]}],"description":"The text overflow behavior."}},"description":"The grid presentation for this column, including alignment, width, colors, and text wrap."},"link":{"oneOf":[{"type":"object","required":["kind","columnId"],"properties":{"kind":{"type":"string","enum":["column"]},"columnId":{"type":"string","description":"The identifier of the column of URLs. Required when `kind` is `column`."}}},{"type":"object","required":["kind","formula"],"properties":{"kind":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula that constructs the hyperlink URL. Must output Text data type. E.g., `Concat(\"https://example.com/?id=\", [Store Id])`."}}}],"description":"The hyperlink target for this column. Either another column containing URLs, or a formula that constructs one."}}}]}]},"description":"The columns of the table and their formulas."},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["connectionId","kind","statement"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["sql"]},"statement":{"type":"string","description":"The custom SQL statement used in the element."}},"description":"","title":"Custom SQL"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","joins"],"properties":{"kind":{"type":"string","enum":["join"]},"joins":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right","columns"],"properties":{"left":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the left table in the join."},"right":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The name of the right table in the join."},"columns":{"type":"array","items":{"allOf":[{"type":"object","required":["left","right"],"properties":{"left":{"type":"string","description":"The column reference or formula expression from the left source used in the join. E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."},"right":{"type":"string","description":"The column reference or formula expression from the right source used in the join.  E.g. ”[ID]” or ”DateTrunc(`year`, [Date])”."}}},{"type":"object","properties":{"op":{"oneOf":[{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">="]},{"type":"string","enum":[">"]},{"type":"string","enum":["within"]},{"type":"string","enum":["intersects"]},{"type":"string","enum":["is-distinct-from"]},{"type":"string","enum":["is-not-distinct-from"]}],"description":"The comparison operator used in the join. Defaults to =. within and intersects are only supported with the Geography data type."}}}]},"description":"A list of the column pairs and operators that define this join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the right."},"joinType":{"oneOf":[{"type":"string","enum":["inner"]},{"type":"string","enum":["left-outer"]},{"type":"string","enum":["right-outer"]},{"type":"string","enum":["full-outer"]},{"type":"string","enum":["lookup"]}],"description":"The logical join type."}}}]},"description":"A list of the joins and their definitions. The left of each join must be either the primary source or the right of some other join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the join. Defaults to the name of the primary source."},"primarySource":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The primary/head source of the join. If not specified, it is inferred as the unique source that appears on the left of some join but never on the right."}}}],"description":"","title":"Join"},{"type":"object","required":["kind","sources","matches"],"properties":{"kind":{"type":"string","enum":["union"]},"sources":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}]},"description":"The identifiers of the sources in the union."},"matches":{"type":"array","items":{"type":"object","required":["outputColumnName","sourceColumns"],"properties":{"outputColumnName":{"type":"string","description":"The name of the union output column."},"sourceColumns":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The matching set of source columns that correspond to the union output column."}}},"description":"The union output columns and the matched source columns that comprise them."}},"description":"","title":"Union"},{"allOf":[{"type":"object","required":["kind","source"],"properties":{"kind":{"type":"string","enum":["transpose"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The identifier of the source in the transpose."}}},{"oneOf":[{"type":"object","required":["direction","outputColumns","columnToTranspose","valueColumn","aggregate"],"properties":{"direction":{"type":"string","enum":["row-to-column"]},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The list of columns in the transposed table."},"columnToTranspose":{"type":"string","description":"The identifier of the column whose values are used as column headings."},"valueColumn":{"type":"string","description":"The identifier of the column used to calculate cell values for each row in the transposed columns."},"aggregate":{"oneOf":[{"type":"string","enum":["min"]},{"type":"string","enum":["max"]},{"type":"string","enum":["count"]},{"type":"string","enum":["count-if"]},{"type":"string","enum":["count-distinct"]},{"type":"string","enum":["sum"]},{"type":"string","enum":["avg"]},{"type":"string","enum":["median"]}],"description":"Indicates the calculation performed on the valueColumn."}}},{"type":"object","required":["direction","columnsToMerge","columnLabelForMergedColumns","columnLabelForValues"],"properties":{"direction":{"type":"string","enum":["column-to-row"]},"columnsToMerge":{"type":"array","items":{"type":"string"},"description":"The list of columns to merge in the transposed table. Must be of the same data type."},"columnLabelForMergedColumns":{"type":"string","description":"The display name of the merged column in the transposed table."},"columnLabelForValues":{"type":"string","description":"The display name of the column of transposed values."}}}]}],"description":"","title":"Transpose"},{"allOf":[{"type":"object","required":["kind","source","arrayColumn","valueColumn","outputColumns"],"properties":{"kind":{"type":"string","enum":["unnest"]},"source":{"oneOf":[{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["connectionId","kind","inodeId"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"kind":{"type":"string","enum":["csv-table"]},"inodeId":{"type":"string","description":"The identifier of the table created from a CSV."}},"description":"","title":"CSV Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["metric-view"]}}}],"description":"A Databricks metric view, referenced by connection and warehouse path.","title":"Metric View"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["semantic-view"]}}}],"description":"A Snowflake semantic view, referenced by connection and warehouse path, where the final path segment is the base logical table.","title":"Semantic View"},{"type":"object","required":["kind","elementId","output"],"properties":{"kind":{"type":"string","enum":["code-output"]},"elementId":{"type":"string","description":"The identifier of the code (Python) element whose output to display."},"output":{"type":"string","description":"Name of the code element's output — the sigma.output('name', …) name — to display."}},"description":"A table produced by a code (Python) element via sigma.output.","title":"Code Output"},{"allOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Table"},{"allOf":[{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}}},{"type":"object","properties":{"groupingId":{"type":"string","description":"The identifier of the grouping to apply to the table. Omit to use all source columns."}}}],"description":"","title":"Data Model"}],"description":"The source containing the array column to unnest."},"arrayColumn":{"type":"string","description":"The variant column containing arrays to unnest."},"valueColumn":{"type":"string","description":"The name of the generated column containing array values."},"outputColumns":{"type":"array","items":{"type":"string"},"description":"The columns included in the unnest output."}}},{"type":"object","properties":{"indexColumn":{"type":"string","description":"The name of the generated zero-based array index column."},"preserveAllSourceRows":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether to preserve rows whose array column is null or empty."}}}],"description":"","title":"Unnest"}],"description":"The source of the table."}}},{"type":"object","properties":{"name":{"oneOf":[{"type":"string","title":"Title text shorthand"},{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the title is shown. Set to `hidden` to hide it, overriding the default-shown behavior."}}},{"type":"object","properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Hidden title"},{"allOf":[{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Title text. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The title font weight."},"fontSize":{"type":"number","description":"The title font size in pixels."},"align":{"oneOf":[{"type":"string","enum":["left"]},{"type":"string","enum":["center"]},{"type":"string","enum":["right"]}],"description":"The horizontal alignment of the title."}}}],"title":"Shown title"}],"description":"The title of the element. Supports dynamic `{{formula}}` text. Enter either a bare string for a plain title, an object with `text` and styling properties (font size, color, alignment, or weight) for a styled title, or `{ visibility: 'hidden' }` to hide the title. A hidden title can keep its `text` and styling, so other elements can still refer to it by name."},"description":{"oneOf":[{"type":"string"},{"type":"object","properties":{"visibility":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the description is shown. Hiding a description does not remove the description text."},"text":{"type":"string","description":"The description text."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The font weight of the description."},"position":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"string","enum":["below"]},{"type":"string","enum":["tooltip"]}],"description":"Where the description renders. Defaults to `auto`, which shows it as a subtitle on taller elements and as a tooltip on shorter ones."},"fontSize":{"type":"number","description":"Description font size in pixels."}}}],"description":"The table description, shown as a subtitle or tooltip."},"noDataText":{"type":"string","description":"Custom message rendered when the chart has no data."},"metrics":{"type":"array","items":{"allOf":[{"type":"object","required":["id","formula"],"properties":{"id":{"type":"string","description":"The identifier of the metric."},"formula":{"type":"string","description":"The formula defining the metric."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the metric."},"description":{"type":"string","description":"The description of the metric."},"isHighlighted":{"type":"boolean","description":"Whether the metric is highlighted."},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"The display format of the column."},"timeline":{"allOf":[{"type":"object","required":["dateColumnId"],"properties":{"dateColumnId":{"type":"string","description":"The date column used for the metric timeline. Required when timeline is enabled."}}},{"type":"object","properties":{"truncation":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The precision to truncate the date to."},"comparison":{"allOf":[{"type":"object","required":["comparisonPeriod"],"properties":{"comparisonPeriod":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The time period to compare the current metric value against."}}},{"type":"object","properties":{"direction":{"oneOf":[{"type":"string","enum":["higher-is-better"]},{"type":"string","enum":["lower-is-better"]}],"description":"Whether higher or lower comparison values are better for the metric."}}}],"description":"The time period to compare the current metric value against."}}}],"description":"The timeline display options for the metric."}}}]},"description":"The metrics defined for this table, each requiring an `id` and a `formula`."},"relationships":{"type":"array","items":{"allOf":[{"type":"object","required":["id","targetElementId","keys"],"properties":{"id":{"type":"string","description":"The identifier of the relationship."},"targetElementId":{"type":"string","description":"The identifier of the target table in the relationship."},"keys":{"type":"array","items":{"type":"object","required":["sourceColumnId","targetColumnId"],"properties":{"sourceColumnId":{"type":"string","description":"The column from the source element joined in this relationship."},"targetColumnId":{"type":"string","description":"The column from the target table joined in this relationship."}}},"description":"The source and target column ID pairs that define the join."}}},{"type":"object","properties":{"name":{"type":"string","description":"The name of the relationship."},"description":{"type":"string","description":"The description of the relationship."}}}]},"description":"The relationships sourced from this table. Each relationship defines a join to a target table."},"filters":{"type":"array","items":{"allOf":[{"type":"object","required":["id","columnId"],"properties":{"id":{"type":"string","description":"The identifier of the filter."},"columnId":{"type":"string","description":"The identifier of the column this filter targets."}}},{"type":"object","properties":{"state":{"oneOf":[{"type":"string","enum":["enabled"]},{"type":"string","enum":["disabled"]}],"description":"Whether the filter is enabled."}}},{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["date-range"]}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["top-n"]}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"List"},{"allOf":[{"type":"object","required":["kind","mode"],"properties":{"kind":{"type":"string","enum":["text-match"]},"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"value":{"type":"string","description":"The string to compare against the filter pattern."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Text Match"},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The hierarchy paths selected by the filter."}}}],"description":"","title":"Hierarchy"}]}]},"description":"The filters applied to this table and their configurations."},"folders":{"type":"array","items":{"allOf":[{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"The identifier of the folder."},"name":{"type":"string","description":"The name of the folder."}}},{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns and folders the folder contains."}}}]},"description":"The folders in the table and their contents."},"groupings":{"type":"array","items":{"allOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The identifier of the grouping."}}},{"type":"object","properties":{"groupBy":{"type":"array","items":{"type":"string"},"description":"The columns or folders that define the grouping. Rows sharing the same values in these columns are grouped together for aggregate calculations."},"calculations":{"type":"array","items":{"type":"string"},"description":"The calculations applied to the grouping."}}}]},"description":"The groupings in the table."},"summary":{"type":"array","items":{"type":"string"},"description":"The identifiers of all summary columns in the table."},"order":{"type":"array","items":{"type":"string"},"description":"A list of identifiers that determines the order in which columns and folders are displayed. Does not include summary columns."},"visibleAsSource":{"type":"boolean","description":"Whether the table can be used as a data source in other documents."},"sort":{"type":"array","items":{"allOf":[{"type":"object","required":["columnId","direction"],"properties":{"columnId":{"type":"string","description":"The identifier of the column by which to sort."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}}},{"type":"object","properties":{"nulls":{"oneOf":[{"type":"string","enum":["first"]},{"type":"string","enum":["last"]},{"type":"string","enum":["connection-default"]}],"description":"How the sort order treats null values."}}}]},"description":"The columns, directions, and null placement used to sort the table's rows. Each `columnId` must reference an existing column, with no duplicates."},"columnSecurities":{"type":"array","items":{"type":"object","required":["id","restrictedColumns","criteria"],"properties":{"id":{"type":"string","description":"The identifier of the column security rule."},"restrictedColumns":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns restricted by this rule. Each must be the id of a column on the table."},"criteria":{"oneOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["no-one-can-view"]}},"description":"","title":"No One Can View"},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["specific-users-and-teams"]},"assignments":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","userId"],"properties":{"type":{"type":"string","enum":["user"]},"userId":{"type":"string","description":"The identifier of a Sigma user."}},"description":"","title":"User"},{"type":"object","required":["type","teamId"],"properties":{"type":{"type":"string","enum":["team"]},"teamId":{"type":"string","description":"The identifier of a team."}},"description":"","title":"Team"}]},"description":"The identifiers of the users and teams allowed to view the columns."}},"description":"","title":"Specific Users and Teams"},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["user-attribute"]},"assignments":{"type":"array","items":{"type":"object","required":["userAttributeId","value"],"properties":{"userAttributeId":{"type":"string","description":"The identifier of the user attribute that controls access to this column."},"value":{"type":"string","description":"The user attribute value required to view the restricted columns. Users assigned this value can access the columns."}}},"description":"The identifier of the user attribute and the value required to view columns restricted by this rule. Users assigned this value can access the protected columns."}},"description":"","title":"User Attribute"}]}}},"description":"The column security rules applied to columns in this table."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"customContextMenu":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","id","displayName","menuItems"],"properties":{"type":{"type":"string","enum":["group"]},"id":{"type":"string","description":"Stable identifier for this submenu group."},"displayName":{"type":"string","description":"Label shown for this submenu in the element's right-click context menu."},"menuItems":{"type":"array","items":{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]},"description":"Items nested inside this submenu. Groups cannot contain further groups (one level of nesting only)."}}},{"allOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","description":"Stable identifier for this menu item, chosen by the author. Referenced by an on-context-menu-click action trigger."},"displayName":{"type":"string","description":"Label shown for this item in the element's right-click context menu."}}},{"type":"object","properties":{"type":{"type":"string","enum":["item"],"description":"Discriminant for this entry; defaults to 'item' when omitted."}}}]}]},"description":"Custom items shown in this element's right-click context menu."},"conditionalFormats":{"type":"array","items":{"oneOf":[{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["single"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"oneOf":[{"type":"object","required":["condition"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["IsNull"]},{"type":"string","enum":["IsNotNull"]}]}}},{"type":"object","required":["condition","value"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["="]},{"type":"string","enum":["!="]},{"type":"string","enum":[">"]},{"type":"string","enum":[">="]},{"type":"string","enum":["<"]},{"type":"string","enum":["<="]},{"type":"string","enum":["Contains"]},{"type":"string","enum":["NotContains"]},{"type":"string","enum":["StartsWith"]},{"type":"string","enum":["EndsWith"]}]},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","low","high"],"properties":{"condition":{"oneOf":[{"type":"string","enum":["Between"]},{"type":"string","enum":["NotBetween"]}]},"low":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"high":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},{"type":"object","required":["condition","formula"],"properties":{"condition":{"type":"string","enum":["formula"]},"formula":{"type":"string","description":"The formula for a conditional formatting rule. Can reference any column in the element. Must return a boolean."}}}]},{"type":"object","properties":{"style":{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string","enum":["none"]}],"description":"The cell background color as a hex code, or `none` for no fill. Omit to use the default highlight."},"color":{"type":"string","description":"The font color, as a hex code."},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"underline":{"type":"boolean"},"format":{"oneOf":[{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The number format string in d3 format syntax. E.g., `.2s` for SI notation with two significant digits (1.2k) or `#x` for prefixed hexadecimal (0x4d3)."},"prefix":{"type":"string","description":"The prefix to apply to the number."},"suffix":{"type":"string","description":"The suffix appended to the number. E.g., `'%'` or `'units'`."},"displayNullAs":{"type":"string","description":"The display value to show for null values."}}},{"type":"object","properties":{"decimalSymbol":{"type":"string","description":"The character used for decimal notation."},"digitGroupingSymbol":{"type":"string","description":"The character used to separate digits in large numbers."},"digitGroupingSize":{"type":"array","items":{"type":"number"},"description":"The number of digits between grouping symbols."},"currencySymbol":{"type":"string","description":"The characters used for currency."}}}]},{"allOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["datetime"]}}},{"type":"object","properties":{"formatString":{"type":"string","description":"The format of the date, specified in d3 time format."}}}]}],"description":"Number or datetime override, in d3 format, for the displayed value. E.g., `#,##0.00` for thousands separators and two decimals."}}}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["backgroundScale"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The hex colors that define the gradient, as an array of 2 or more colors."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."},"mid":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The midpoint value for a diverging color scale. Omit for a sequential scale."}}},"order":{"oneOf":[{"type":"string","enum":["descending"]},{"type":"string","enum":["ascending"]}]},"nullBehavior":{"oneOf":[{"type":"string","enum":["asZero"]},{"type":"string","enum":["asNull"]}]},"steps":{"type":"number","description":"Quantize the continuous gradient into N discrete buckets."}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fontScale"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The hex colors that define the gradient, as an array of 2 or more colors."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."},"mid":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The midpoint value for a diverging color scale. Omit for a sequential scale."}}},"order":{"oneOf":[{"type":"string","enum":["descending"]},{"type":"string","enum":["ascending"]}]},"nullBehavior":{"oneOf":[{"type":"string","enum":["asZero"]},{"type":"string","enum":["asNull"]}]},"steps":{"type":"number"}}}]},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["dataBars"]}}},{"type":"object","required":["columnIds"],"properties":{"columnIds":{"type":"array","items":{"type":"string"},"description":"The identifiers of the columns this conditional formatting rule applies to. Each must be the id of a column on the element."}}},{"type":"object","properties":{"scheme":{"type":"array","items":{"type":"string"},"description":"The hex colors that define the gradient, as an array of 2 or more colors."},"domain":{"type":"object","properties":{"min":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The minimum of the scale domain. A number, or a formula that evaluates to a number."},"max":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The maximum of the scale domain. A number, or a formula that evaluates to a number."},"mid":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"The midpoint value for a diverging color scale. Omit for a sequential scale."}}},"order":{"oneOf":[{"type":"string","enum":["descending"]},{"type":"string","enum":["ascending"]}]},"valueLabels":{"oneOf":[{"type":"string","enum":["hidden"]},{"type":"string","enum":["shown"]}]}}}]}]},"description":"Conditional formatting rules applied to columns of this table. Later rules take precedence over earlier ones."},"sparkline":{"type":"object","properties":{"shape":{"oneOf":[{"type":"string","enum":["line"]},{"type":"string","enum":["bar"]}],"description":"The sparkline chart type."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"interpolation":{"oneOf":[{"type":"string","enum":["linear"]},{"type":"string","enum":["monotone"]},{"type":"string","enum":["step"]},{"type":"string","enum":["step-before"]},{"type":"string","enum":["step-after"]}],"description":"The line interpolation method."},"missing":{"oneOf":[{"type":"string","enum":["zero"]},{"type":"string","enum":["interpolate"]},{"type":"string","enum":["hide"]}],"description":"How null values are drawn between points. One of `interpolate` (bridged), `hide` (omitted), or `zero` (plotted as zero)."},"line":{"type":"object","properties":{"style":{"oneOf":[{"type":"string","enum":["solid"]},{"type":"string","enum":["dashed"]},{"type":"string","enum":["dotted"]}],"description":"The stroke pattern."},"width":{"oneOf":[{"type":"number","enum":[1]},{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]},{"type":"number","enum":[5]}],"description":"Stroke width in pixels (1–5)."}},"description":"The line stroke style and width for line-shaped sparklines."},"tooltip":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the sparkline displays a hover tooltip with x and y values."},"points":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether points are shown. Set to `hidden` to hide them. Cannot be combined with `shape` or `size`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Whether to show points. Set to `shown` to display them."},"shape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle-up"]}],"description":"The point shape."},"size":{"oneOf":[{"type":"number","enum":[4]},{"type":"number","enum":[9]},{"type":"number","enum":[16]},{"type":"number","enum":[25]},{"type":"number","enum":[36]},{"type":"number","enum":[64]},{"type":"number","enum":[100]},{"type":"number","enum":[144]},{"type":"number","enum":[225]}],"description":"The point size by area scale, when no size field is set."}}}],"description":"The point display options for line sparklines."},"labels":{"oneOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Whether the endpoint labels are shown. Set to `hidden` to hide them. Cannot be combined with `color` or `fontSize`."}}},{"type":"object","properties":{"visibility":{"type":"string","enum":["shown"],"description":"Set to `shown` to display endpoint labels. Endpoint labels display the first and last `x, y` value pairs for each sparkline."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"fontSize":{"type":"number","description":"Label font size in pixels."}}}],"description":"Endpoint value labels on line sparklines."}},"description":"The mark formatting applied to sparkline columns."},"tableComponents":{"type":"object","properties":{"table":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the table body is shown. Set to `hidden` to hide it."},"collapsedColumns":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The display options for columns when table groupings are collapsed."},"summaryBar":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"The summary bar display options for the table."}},"description":"Whether table components are shown, such as the summary bar and collapsed columns. Defaults to `shown`."},"tableStyle":{"allOf":[{"$ref":"#/components/schemas/TableStyle"}],"description":"The table style options, including grid preset, spacing, grid lines, banding, autofit, dividers, and text styles for headers and cells."},"frozenColumn":{"oneOf":[{"allOf":[{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The column to freeze. This column and any column visually to its left are frozen."}}},{"type":"object","properties":{"fieldValues":{"type":"array","items":{"type":"object","required":["fieldId","value"],"properties":{"fieldId":{"type":"string","description":"Pivot shelf field id for a dimension value at the freeze point."},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}],"description":"Dimension member value at the freeze point."}}},"description":"The pivot dimension values identifying which repeated column to freeze. Each value must match its column’s data type."}}}]},{"type":"null"}],"description":"The frozen column configuration. Freezes this column and all columns to its left, keeping them visible when scrolling right."}}},{"type":"object","properties":{"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"The actions triggered by interacting with this element."}}}]},"Control":{"oneOf":[{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["checkbox"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["True/False"]},{"type":"string","enum":["True/All"]}],"description":"The toggle mode of the control."}}},{"type":"object","properties":{"value":{"type":"boolean","description":"Whether the control is selected."}}}],"description":"","title":"Checkbox"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["switch"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["True/False"]},{"type":"string","enum":["True/All"]}],"description":"The toggle mode of the control."}}},{"type":"object","properties":{"value":{"type":"boolean","description":"Whether the control is selected."}}}],"description":"","title":"Switch"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["text"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["equals"]},{"type":"string","enum":["does-not-equal"]},{"type":"string","enum":["contains"]},{"type":"string","enum":["does-not-contain"]},{"type":"string","enum":["starts-with"]},{"type":"string","enum":["does-not-start-with"]},{"type":"string","enum":["ends-with"]},{"type":"string","enum":["does-not-end-with"]},{"type":"string","enum":["like"]},{"type":"string","enum":["not-like"]},{"type":"string","enum":["matches-regexp"]},{"type":"string","enum":["does-not-match-regexp"]}],"description":"The type of text comparison to make."}}},{"type":"object","properties":{"placeholder":{"type":"string","description":"Placeholder text shown while the control has no value. Omit to use the default."},"case":{"oneOf":[{"type":"string","enum":["sensitive"]},{"type":"string","enum":["insensitive"]}],"description":"Whether the text comparison is case sensitive."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."},"showOperators":{"type":"boolean","description":"Whether the comparison-mode picker is shown in the control, letting viewers change how the mode compares text."},"value":{"type":"string","description":"The text entered in the control. Defaults to `empty`."}}}],"description":"","title":"Text"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["text-area"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","properties":{"placeholder":{"type":"string","description":"Placeholder text shown while the control has no value. Omit to use the default."},"value":{"type":"string","description":"The text entered in the control. Defaults to `empty`."}}}],"description":"","title":"Text Area"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["number"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The operator used to filter numbers."}}},{"type":"object","properties":{"placeholder":{"type":"string","description":"Placeholder text shown while the control has no value. Omit to use the default."},"value":{"type":"number","description":"The number entered in the control."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Number"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["number-range"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","properties":{"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}],"description":"","title":"Number Range"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["date"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The operator used to filter dates."}}},{"type":"object","properties":{"placeholder":{"type":"string","description":"Placeholder text shown while the control has no value. Omit to use the default."},"value":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The date selected in the control, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Date"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["date-range"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","properties":{"placeholder":{"type":"string","description":"Placeholder text shown while the control has no value. Omit to use the default."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"oneOf":[{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["between"]},"startDate":{"type":"string","description":"The inclusive start date of the date range, in ISO 8601 format."},"endDate":{"type":"string","description":"The inclusive end date of the date range, in ISO 8601 format."}}},{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["between"]}}}],"description":"","title":"Between"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["on"]},"date":{"type":"string","description":"The date to filter to, in ISO 8601 format."}},"description":"","title":"On"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["before"]},"date":{"type":"string","description":"The inclusive upper bound, in ISO 8601 format. Keeps values on or before this date. A date without a time is the start of that day, so include a time (e.g. `2017-08-26T23:59:59`) to keep the whole day."}},"description":"","title":"Before"},{"type":"object","required":["mode","date"],"properties":{"mode":{"type":"string","enum":["after"]},"date":{"type":"string","description":"The inclusive lower bound, in ISO 8601 format. Keeps values on or after this date. A date without a time is the start of that day."}},"description":"","title":"After"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["next"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Next"},{"type":"object","required":["mode","value","unit","includeToday"],"properties":{"mode":{"type":"string","enum":["last"]},"value":{"type":"number","description":"The number of units to filter on. I.e. 'x units ago'."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"includeToday":{"type":"boolean","description":"Whether to include the current date in the range. Defaults to `false`."}},"description":"","title":"Last"},{"type":"object","required":["mode","unit"],"properties":{"mode":{"type":"string","enum":["current"]},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."}},"description":"","title":"Current"},{"oneOf":[{"type":"object","required":["mode","startDate","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The start date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."},"endDate":{"oneOf":[{"type":"string","description":"","title":"Fixed"},{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"","title":"Relative"}],"description":"The end date of the date range, in ISO 8601 format (e.g., `2017-08-26T00:00:00Z`) or relative format (e.g., Today, Last 7 Days)."}}},{"type":"object","required":["mode","startDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"startDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The start date of the date range, expressed relative to today (e.g., 7 days ago). Use this variant when the end date is unbounded."}}},{"type":"object","required":["mode","endDate"],"properties":{"mode":{"type":"string","enum":["custom"]},"endDate":{"type":"object","required":["op","unit","value"],"properties":{"op":{"oneOf":[{"type":"string","enum":["now-minus"]},{"type":"string","enum":["now-plus"]}],"description":"Whether the relative date range is before or after the specified date."},"unit":{"oneOf":[{"type":"string","enum":["year"]},{"type":"string","enum":["quarter"]},{"type":"string","enum":["month"]},{"type":"string","enum":["week-starting-sunday"]},{"type":"string","enum":["week-starting-monday"]},{"type":"string","enum":["day"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["minute"]},{"type":"string","enum":["second"]}],"description":"The unit of time to filter on."},"value":{"type":"number","description":"The number of units to filter on, e.g., \"x units ago\" or \"in x units\"."}},"description":"The end date of the date range, expressed relative to today (e.g., 7 days from now). Use this variant when the start date is unbounded."}}}],"description":"","title":"Custom"}]}],"description":"","title":"Date Range"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["file-upload"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","properties":{"acceptedFileTypes":{"type":"array","items":{"type":"string"},"description":"Allowed file extensions (e.g. jpg, pdf); absent or empty accepts all supported types."},"maxFileNum":{"type":"number","description":"Maximum number of files (≥ 1). `1` limits each upload to a single file."},"maxFileSizeMb":{"type":"number","description":"Maximum size per file in MB, 1–200."}}}],"description":"","title":"File Upload"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["top-n"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"oneOf":[{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank"]},{"type":"string","enum":["rank-dense"]},{"type":"string","enum":["row-number"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-n"]},{"type":"string","enum":["bottom-n"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"rowCount":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Row Count"},{"allOf":[{"type":"object","required":["rankingFunction","mode"],"properties":{"rankingFunction":{"oneOf":[{"type":"string","enum":["rank-percentile"]},{"type":"string","enum":["cume-dist"]}],"description":"The ranking function used by the filter."},"mode":{"oneOf":[{"type":"string","enum":["top-percentile"]},{"type":"string","enum":["bottom-percentile"]}],"description":"Whether to filter the top or bottom N values."}}},{"type":"object","properties":{"percentile":{"type":"number","description":"The number of top results to return."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}}],"description":"","title":"Percentile"}]}],"description":"","title":"Top N"},{"oneOf":[{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","properties":{"placeholder":{"type":"string","description":"Placeholder text shown while the control has no value. Omit to use the default."},"clearButton":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the value picker shows a button that clears the selection. Defaults to `shown`."},"expandedList":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the control displays its values in an expanded list. Defaults to `hidden`."},"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"nullValues":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether null is a selectable value. Defaults to `shown`."}}},{"type":"object","required":["source"],"properties":{"source":{"allOf":[{"type":"object","required":["kind","source","columnId"],"properties":{"kind":{"type":"string","enum":["source"]},"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column used as a value source for the control."}}},{"type":"object","properties":{"displayColumnId":{"type":"string","description":"The identifier of the column containing display names for the control values."}}}]}}},{"type":"object","properties":{"searchBox":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the value picker shows a search box. Defaults to `shown`."},"histogram":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether each value shows its frequency histogram. Defaults to `shown`. Set to `hidden` to speed up large workbooks."},"sort":{"type":"object","required":["by","direction"],"properties":{"by":{"oneOf":[{"type":"string","enum":["value"]},{"type":"string","enum":["count"]}],"description":"What to sort the values by: the values themselves, or how often each occurs."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}},"description":"How the values are ordered in the value picker. Only applies when `source.kind` is `source`. Omit to use the control default: descending by count for `list` and `segmented`, ascending by value for `legend`."}}},{"oneOf":[{"allOf":[{"type":"object","required":["selectionMode"],"properties":{"selectionMode":{"type":"string","enum":["single"]}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}]},{"allOf":[{"type":"object","properties":{"selectionMode":{"type":"string","enum":["multiple"]},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}},{"type":"object","properties":{"allOption":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the value picker shows an `All` option. Defaults to `shown`."}}}]}]}]},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["list"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","properties":{"placeholder":{"type":"string","description":"Placeholder text shown while the control has no value. Omit to use the default."},"clearButton":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the value picker shows a button that clears the selection. Defaults to `shown`."},"expandedList":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the control displays its values in an expanded list. Defaults to `hidden`."},"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"nullValues":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether null is a selectable value. Defaults to `shown`."}}},{"type":"object","properties":{"source":{"allOf":[{"type":"object","required":["kind","valueType"],"properties":{"kind":{"type":"string","enum":["manual"]},"valueType":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["date"]},{"type":"string","enum":["boolean"]}],"description":"The data type of the list values."}}},{"type":"object","properties":{"values":{"oneOf":[{"type":"array","items":{"type":"boolean"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"string","description":"","title":"Fixed Date"}}],"description":"The list of possible values in the control. For manual controls, specify each value and optionally a display label."},"labels":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The display labels applied to the control's values. E.g., \"Q1\" and \"Q2\" for values 1 and 2."}}}]}}},{"oneOf":[{"allOf":[{"type":"object","required":["selectionMode"],"properties":{"selectionMode":{"type":"string","enum":["single"]}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}]},{"type":"object","properties":{"selectionMode":{"type":"string","enum":["multiple"]},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}]}]}],"description":"","title":"List values"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["segmented"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","properties":{"sort":{"type":"object","required":["by","direction"],"properties":{"by":{"oneOf":[{"type":"string","enum":["value"]},{"type":"string","enum":["count"]}],"description":"What to sort the values by: the values themselves, or how often each occurs."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}},"description":"How the values are ordered in the value picker. Only applies when `source.kind` is `source`. Omit to use the control default: descending by count for `list` and `segmented`, ascending by value for `legend`."},"clearLabel":{"type":"string","description":"The label for the clear option, shown only when `showClearLabel` is `true`. Defaults to `None`."},"showClearLabel":{"type":"boolean","description":"Whether a clear option is shown in the control. Defaults to `false`."},"source":{"oneOf":[{"allOf":[{"type":"object","required":["kind","valueType"],"properties":{"kind":{"type":"string","enum":["manual"]},"valueType":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["date"]},{"type":"string","enum":["boolean"]}],"description":"The data type of the list values."}}},{"type":"object","properties":{"values":{"oneOf":[{"type":"array","items":{"type":"boolean"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"string","description":"","title":"Fixed Date"}}],"description":"The list of possible values in the control. For manual controls, specify each value and optionally a display label."},"labels":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The display labels applied to the control's values. E.g., \"Q1\" and \"Q2\" for values 1 and 2."}}}],"description":"","title":"Manual"},{"allOf":[{"type":"object","required":["kind","source","columnId"],"properties":{"kind":{"type":"string","enum":["source"]},"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column used as a value source for the control."}}},{"type":"object","properties":{"displayColumnId":{"type":"string","description":"The identifier of the column containing display names for the control values."}}}],"description":"","title":"Source"}],"description":"The source of the control's possible values. References a column from a data element or data source, or a manual list with custom values."}}},{"type":"object","properties":{"value":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"string","description":"","title":"Fixed Date"}],"description":"The value selected in the control."}}}],"description":"","title":"Segmented Control"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["hierarchy"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","properties":{"placeholder":{"type":"string","description":"Placeholder text shown while the control has no value. Omit to use the default."},"histogram":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether each value shows its frequency histogram. Defaults to `shown`. Set to `hidden` to speed up large workbooks."},"allOption":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the value picker shows an `All` option. Defaults to `shown`."},"expandedList":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether the control displays its values in an expanded list. Defaults to `hidden`."},"source":{"type":"object","required":["source","columnId"],"properties":{"source":{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},"columnId":{"type":"string"}}},"mode":{"oneOf":[{"type":"string","enum":["include"]},{"type":"string","enum":["exclude"]}],"description":"Whether the selected values are included or excluded by the filter. Defaults to `include`."},"values":{"type":"array","items":{"type":"array","items":{"type":"string"}}}}}],"description":"","title":"Hierarchy"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["drill"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","properties":{"categories":{"type":"array","items":{"type":"object","required":["columnId"],"properties":{"columnId":{"type":"string","description":"The identifier of a column in the drill path, in order from outer to inner level."}}},"description":"The ordered drill path columns from the value source."},"source":{"allOf":[{"type":"object","required":["kind","source","columnId"],"properties":{"kind":{"type":"string","enum":["source"]},"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column used as a value source for the control."}}},{"type":"object","properties":{"displayColumnId":{"type":"string","description":"The identifier of the column containing display names for the control values."}}}],"description":"The value source and anchor column for the drill path."},"targets":{"type":"array","items":{"type":"object","required":["source","columnIds"],"properties":{"source":{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"The target visualization."},"columnIds":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The column IDs for each drill category, in category order."}}},"description":"The visualizations this control drills into."},"value":{"oneOf":[{"type":"string"},{"type":"null"}],"description":"The selected drill category column id."}}}],"description":"","title":"Drill down"},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["legend"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","required":["source"],"properties":{"source":{"oneOf":[{"allOf":[{"type":"object","required":["kind","valueType"],"properties":{"kind":{"type":"string","enum":["manual"]},"valueType":{"oneOf":[{"type":"string","enum":["text"]},{"type":"string","enum":["number"]},{"type":"string","enum":["date"]},{"type":"string","enum":["boolean"]}],"description":"The data type of the list values."}}},{"type":"object","properties":{"values":{"oneOf":[{"type":"array","items":{"type":"boolean"}},{"type":"array","items":{"type":"number"}},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"string","description":"","title":"Fixed Date"}}],"description":"The list of possible values in the control. For manual controls, specify each value and optionally a display label."},"labels":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":"The display labels applied to the control's values. E.g., \"Q1\" and \"Q2\" for values 1 and 2."}}}],"description":"","title":"Manual"},{"allOf":[{"type":"object","required":["kind","source","columnId"],"properties":{"kind":{"type":"string","enum":["source"]},"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column used as a value source for the control."}}},{"type":"object","properties":{"displayColumnId":{"type":"string","description":"The identifier of the column containing display names for the control values."}}}],"description":"","title":"Source"}],"description":"The source of the control's possible values. References a column from a data element or data source, or a manual list with custom values."}}},{"type":"object","properties":{"sort":{"type":"object","required":["by","direction"],"properties":{"by":{"oneOf":[{"type":"string","enum":["value"]},{"type":"string","enum":["count"]}],"description":"What to sort the values by: the values themselves, or how often each occurs."},"direction":{"oneOf":[{"type":"string","enum":["ascending"]},{"type":"string","enum":["descending"]}],"description":"The sort direction."}},"description":"How the values are ordered in the value picker. Only applies when `source.kind` is `source`. Omit to use the control default: descending by count for `list` and `segmented`, ascending by value for `legend`."},"colorAssignment":{"type":"object","properties":{"customColors":{"type":"array","items":{"type":"object","required":["color","value"],"properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"value":{"oneOf":[{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},{"type":"null"}],"description":"The legend value to assign this color."}}},"description":"The color assignments for individual legend values."},"palette":{"type":"object","required":["scheme","type"],"properties":{"scheme":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"A named theme palette or list of custom hex colors."},"type":{"type":"string","enum":["categorical"]}}}}},"legend":{"type":"object","properties":{"fontSize":{"type":"number","description":"Legend label font size in pixels."},"markShape":{"oneOf":[{"type":"string","enum":["circle"]},{"type":"string","enum":["square"]},{"type":"string","enum":["cross"]},{"type":"string","enum":["diamond"]},{"type":"string","enum":["triangle"]},{"type":"string","enum":["solid-line"]},{"type":"string","enum":["dashed-line"]},{"type":"string","enum":["dotted-line"]}],"description":"The shape of the legend marks. Defaults to `square`."},"orientation":{"oneOf":[{"type":"string","enum":["vertical"]},{"type":"string","enum":["horizontal"]},{"type":"string","enum":["horizontal-with-wrap"]}],"description":"The legend control orientation. Defaults to `vertical`."},"textColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."}}},"nullValues":{"oneOf":[{"type":"string","enum":["shown"]},{"type":"string","enum":["hidden"]}],"description":"Whether null is a selectable value. Defaults to `shown`."},"otherCategories":{"oneOf":[{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["use-legend-palette"]}}},{"allOf":[{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["use-other-color"]}}},{"type":"object","properties":{"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"A hex color (`#rgb` or `#rrggbb`), an `rgb()` value (e.g. `rgb(0, 0, 255)`), or a theme color reference. `rgba()` is not supported."},"label":{"type":"string","description":"Label for grouped unlisted values."}}}]}]},"targets":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The chart legend columns targeted by this control. Only charts with color set by category can be targeted."},"values":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"boolean"}]},"description":"The list of selected booleans. Can contain null.","title":"boolean"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"number"}]},"description":"The list of selected numbers. Can contain null.","title":"number"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string"}]},"description":"The list of selected strings. Can contain null.","title":"string"},{"type":"array","items":{"oneOf":[{"type":"null"},{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}]},"description":"The list of selected dates in ISO 8601 format. Can contain null.","title":"datetime"}],"description":"The list of selected values."}}}],"description":"","title":"Legend"},{"oneOf":[{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["slider"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The operator used to filter numbers."}}},{"type":"object","properties":{"valueType":{"type":"string","enum":["number"],"description":"The kind of values the slider filters. Defaults to `number`."},"low":{"type":"number","description":"The minimum value of the slider."},"high":{"type":"number","description":"The maximum value of the slider."},"step":{"type":"number","description":"The amount the slider increments by between steps."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"value":{"type":"number","description":"The number selected in the control. For range sliders, reference the minimum and maximum values with `.min` and `.max`."}}}]},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["slider"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"string","enum":["<="]},{"type":"string","enum":["="]},{"type":"string","enum":[">="]}],"description":"The operator used to filter dates."}}},{"type":"object","required":["valueType"],"properties":{"valueType":{"type":"string","enum":["datetime"],"description":"The kind of values the slider filters."}}},{"type":"object","properties":{"low":{"type":"string","description":"The minimum date of the slider, in ISO 8601 format."},"high":{"type":"string","description":"The maximum date of the slider, in ISO 8601 format."},"step":{"type":"object","required":["unit","value"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["minute"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["day"]},{"type":"string","enum":["week"]}],"description":"The unit the step amount counts."},"value":{"type":"number","description":"The number of units the slider increments by between steps."}},"description":"The amount the slider increments by between steps."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"value":{"type":"string","description":"The date selected in the control, in ISO 8601 format. For range sliders, reference the minimum and maximum values with `.min` and `.max`."}}}]}],"description":"","title":"Slider"},{"oneOf":[{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["range-slider"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","properties":{"valueType":{"type":"string","enum":["number"],"description":"The kind of values the slider filters. Defaults to `number`."},"low":{"type":"number","description":"The minimum value of the slider."},"high":{"type":"number","description":"The maximum value of the slider."},"step":{"type":"number","description":"The amount the slider increments by between steps."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"number","description":"The lower bound of the selected number range."},"max":{"type":"number","description":"The upper bound of the selected number range."}}}]},{"allOf":[{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of the control."},"controlId":{"type":"string","description":"The identifier used to reference this control in a formula."},"controlType":{"type":"string","enum":["range-slider"]}}},{"type":"object","properties":{"name":{"type":"string","description":"The display name. Supports dynamic `{{formula}}` text, and optional d3 formatting via pipe, e.g. `\"Total: {{Count() | ,.0f}}\"`."},"filters":{"type":"array","items":{"type":"object","required":["source","columnId"],"properties":{"source":{"oneOf":[{"type":"object","required":["kind","elementId"],"properties":{"kind":{"type":"string","enum":["table"]},"elementId":{"type":"string","description":"The identifier of the table in this data model."}},"description":"","title":"Table"},{"allOf":[{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string","description":"The identifier of the connection to the data platform."},"path":{"type":"array","items":{"type":"string"},"description":"The path of the object in the data platform."}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["warehouse-table"]}}}],"description":"","title":"Warehouse Table"},{"type":"object","required":["dataModelId","elementId","kind"],"properties":{"dataModelId":{"type":"string","description":"The identifier of the data model source."},"elementId":{"type":"string","description":"The identifier of the table in the referenced data model."},"kind":{"type":"string","enum":["data-model"]}},"description":"","title":"Data Model"}],"description":"The workbook element or data source targeted by this control."},"columnId":{"type":"string","description":"The identifier of the column targeted by this control."}}},"description":"The filter targets of the control."},"parameters":{"type":"array","items":{"type":"object","required":["kind","dataModelId","controlId"],"properties":{"kind":{"type":"string","enum":["data-model"]},"dataModelId":{"type":"string","description":"The identifier of the data model."},"controlId":{"type":"string","description":"The identifier of the control."}}},"description":"The data model control that this workbook control passes its value to as a parameter."},"style":{"oneOf":[{"allOf":[{"type":"object","required":["padding"],"properties":{"padding":{"type":"string","enum":["none"],"description":"The padding around the element. Set to none to remove padding. `borderWidth` and `borderColor` cannot be set alongside it."}}},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."}}}]},{"type":"object","properties":{"backgroundColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}},{"type":"string","enum":["transparent"]}],"description":"Element background color (hex, rgb(), theme reference, or \"transparent\")."},"borderRadius":{"oneOf":[{"type":"string","enum":["square"]},{"type":"string","enum":["round"]},{"type":"string","enum":["pill"]}],"description":"The corner shape. Omit to inherit the workbook theme."},"borderWidth":{"type":"number","description":"The border width, in pixels. Cannot be set when `padding` is `none`."},"borderColor":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The border color. A hex code, `rgb()` value, or theme reference. Cannot be set when `padding` is `none`."}}}],"description":"The visual styling, including background color, border, corner shape, and padding."},"labelConfig":{"oneOf":[{"allOf":[{"type":"object","required":["visibility"],"properties":{"visibility":{"type":"string","enum":["hidden"],"description":"Set to `hidden` to hide the label. Omit `visibility` to configure `position` instead; `width`, `color`, and `fontWeight` are kept either way."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]},{"allOf":[{"type":"object","properties":{"position":{"oneOf":[{"type":"string","enum":["top"]},{"type":"string","enum":["left"]}],"description":"Where the label sits relative to the control. Defaults to `top`."}}},{"type":"object","properties":{"width":{"oneOf":[{"type":"string","enum":["auto"]},{"type":"number","enum":[0.25]},{"type":"number","enum":[0.5]},{"type":"number","enum":[0.75]}],"description":"The label width as a fraction of the control row. Applies when `position` is `left`."},"color":{"oneOf":[{"type":"string"},{"type":"string"},{"type":"object","required":["kind","ref"],"properties":{"kind":{"type":"string","enum":["theme"]},"ref":{"type":"string"}}}],"description":"The label color."},"fontWeight":{"oneOf":[{"type":"string","enum":["normal"]},{"type":"string","enum":["bold"]}],"description":"The label font weight."}}}]}],"description":"The control's label configuration. Omit to inherit the defaults."},"actions":{"allOf":[{"$ref":"#/components/schemas/Actions"}],"description":"Actions triggered when this control's value changes."},"requiredInput":{"oneOf":[{"type":"string","enum":["required"]},{"type":"string","enum":["optional"]}],"description":"Set to `required` to prevent all data elements on the same page from loading until a value is selected. Defaults to `optional`. Not supported on `legend`, `file-upload`, and `drill` controls."}}},{"type":"object","required":["valueType"],"properties":{"valueType":{"type":"string","enum":["datetime"],"description":"The kind of values the slider filters."}}},{"type":"object","properties":{"low":{"type":"string","description":"The minimum date of the slider, in ISO 8601 format."},"high":{"type":"string","description":"The maximum date of the slider, in ISO 8601 format."},"step":{"type":"object","required":["unit","value"],"properties":{"unit":{"oneOf":[{"type":"string","enum":["minute"]},{"type":"string","enum":["hour"]},{"type":"string","enum":["day"]},{"type":"string","enum":["week"]}],"description":"The unit the step amount counts."},"value":{"type":"number","description":"The number of units the slider increments by between steps."}},"description":"The amount the slider increments by between steps."},"includeNulls":{"oneOf":[{"type":"string","enum":["always"]},{"type":"string","enum":["never"]},{"type":"string","enum":["when-no-value-is-selected"]}],"description":"When to include null values in the filter results."}}},{"type":"object","properties":{"min":{"type":"string","description":"The selected date to filter on, in ISO 8601 format."},"max":{"type":"string","description":"The selected date to filter on, in ISO 8601 format."}}}]}],"description":"","title":"Range Slider"},{"type":"object","required":["kind","id","controlId","controlType"],"properties":{"kind":{"type":"string","enum":["control"]},"id":{"type":"string","description":"The identifier of this synced copy."},"controlId":{"type":"string","description":"The identifier of the control this copy is synced with."},"controlType":{"type":"string","enum":["synced"]}},"description":"","title":"Synced"}]}}},"security":[{"oauth2":[]}],"paths":{"/v2/accountTypes":{"get":{"summary":"List account types","description":"Returns a list of all account types available in the organization.\n\n  ### Usage notes\n  - Use the **accountTypeId** with the [/v2/accountTypes/:accountTypeId/permissions](https://help.sigmacomputing.com/reference/list-account-type-permissions) endpoint to retrieve more detailed permissions.\n  - **licenseType** depends on the permissions enabled for the account type.\n  - To perform this operation, you must use API credentials owned by a user assigned the Admin account type.\n\n  ### Usage scenarios\n  - Display available account types in an admin interface.\n  - Show an overview of account types for management.\n  ","parameters":[{"name":"pageToken","schema":{"type":"string","description":"Use to specify the next set of results with the string returned in the `nextPageToken` field of the previous response.","title":"Page token"},"in":"query"},{"name":"pageSize","schema":{"type":"integer","description":"Number of results to return per page, with a maximum of 1000. Defaults to 50.","title":"Page size"},"in":"query"}],"operationId":"listAccountTypes","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries"],"properties":{"entries":{"type":"array","items":{"type":"object","required":["accountTypeId","accountTypeName","description","isCustom","licenseType"],"properties":{"accountTypeId":{"type":"string","description":"The unique identifier of the account type."},"accountTypeName":{"type":"string","description":"The name of the account type."},"description":{"type":"string","description":"A human-readable description of the permissions and capabilities provided by this account type."},"isCustom":{"type":"boolean","description":"Whether this is a custom account type created by the organization (true) or a default Sigma account type (false)."},"licenseType":{"type":"string","description":"The license type of the account type."}}},"description":"Array of results returned by the endpoint","title":"Result entries"}}},{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A string that can be passed to the `pageToken` parameter in the next request to fetch the next page of results. Not present in the last page of results.\n**Must be treated as an opaque string.**","title":"Next page token"}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["accountTypes"]},"post":{"summary":"Create an account type","description":"Create a custom account type with specified permissions.\n\n  ### Usage notes\n  - To perform this operation, you must use API credentials owned by a user assigned the Admin account type.\n  - Use the permission names from the [/v2/accountTypes/:accountTypeId/permissions](https://help.sigmacomputing.com/reference/list-account-type-permissions) endpoint.\n  - **licenseType** depends on the permissions enabled for the account type.\n\n  ### Usage scenarios\n  - Create custom account types to define specific permission sets for your organization's users.\n  ","parameters":[],"operationId":"createAccountType","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"type":"object","required":["name","description","permissions"],"properties":{"name":{"type":"string","description":"The name of the account type."},"description":{"type":"string","description":"A description of the account type."},"permissions":{"type":"array","items":{"type":"string"},"description":"An array of permissions to enable for this account type. Use the permission names from the [/v2/accountTypes/:accountTypeId/permissions](https://help.sigmacomputing.com/reference/list-account-type-permissions) endpoint."}}}}}},"responses":{"201":{"description":"The newly created account type.","content":{"application/json":{"schema":{"type":"object","required":["accountTypeId","accountTypeName","description","isCustom","licenseType"],"properties":{"accountTypeId":{"type":"string","description":"The unique identifier of the account type."},"accountTypeName":{"type":"string","description":"The name of the account type."},"description":{"type":"string","description":"A human-readable description of the permissions and capabilities provided by this account type."},"isCustom":{"type":"boolean","description":"Whether this is a custom account type created by the organization (true) or a default Sigma account type (false)."},"licenseType":{"type":"string","description":"The license type of the account type."}},"description":"The newly created account type."}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["accountTypes"]}},"/v2/accountTypes/{accountTypeId}":{"delete":{"summary":"Delete an account type","description":"Delete a custom account type and reassign its users to another account type.\n\n  ### Usage notes\n  - To perform this operation, you must use API credentials owned by a user assigned the Admin account type.\n  - Default Sigma account types cannot be deleted.\n  - All users assigned to the deleted account type will be reassigned to the specified **reassignToAccountTypeId**.\n  - Retrieve account type IDs by calling the [/v2/accountTypes](https://help.sigmacomputing.com/reference/list-account-types) endpoint.\n\n  ### Usage scenarios\n  - Remove custom account types that are no longer needed.\n  - Consolidate account types by moving users to a different account type before deletion.\n  ","parameters":[{"name":"accountTypeId","schema":{"type":"string","description":"The unique identifier of the account type to delete."},"in":"path","required":true},{"name":"reassignToAccountTypeId","schema":{"type":"string","description":"The unique identifier of the account type to reassign users to. Users currently assigned the deleted account type will be reassigned this account type."},"in":"query"}],"operationId":"deleteAccountType","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["accountTypes"]}},"/v2/accountTypes/{accountTypeId}/permissions":{"get":{"summary":"List account type permissions","description":"Returns all feature permissions for a specific account type.\n\n  ### Usage notes\n  - Retrieve the **accountTypeId** by calling the [/v2/accountTypes](https://help.sigmacomputing.com/reference/list-account-types) endpoint.\n  - To perform this operation, you must use API credentials owned by a user assigned the Admin account type.\n\n  ### Usage scenarios\n  - Display permission details in an admin interface.\n  - Validate user capabilities based on account type.\n  - Compare permissions across different account types.\n  ","parameters":[{"name":"accountTypeId","schema":{"type":"string","description":"The unique identifier of the account type."},"in":"path","required":true}],"operationId":"listAccountTypePermissions","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["permission","description"],"properties":{"permission":{"type":"string","description":"The permission name. For example, \"view-worksheet\"."},"description":{"type":"string","description":"A human-readable description of what this permission allows."}}}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["accountTypes"]},"patch":{"summary":"Update account type permissions","description":"Add or remove permissions on a custom account type.\n### Usage notes\n- To perform this operation, you must use API credentials owned by a user assigned the Admin account type.\n- To read or update permissions for a tenant organization, use [impersonation](/docs/impersonate-users) to obtain a token for that tenant, then call this endpoint with that token.\n- Retrieve the **accountTypeId** by calling the [/v2/accountTypes](https://help.sigmacomputing.com/reference/list-account-types) endpoint.\n- For **add** and **remove**, use the permission names from the response of the [/v2/accountTypes/:accountTypeId/permissions](https://help.sigmacomputing.com/reference/list-account-type-permissions).\n- A permission cannot appear in both **add** and **remove**.\n- You cannot modify the permissions of the Admin account type.\n- **licenseType** depends on the permissions enabled for the account type.\n- **permissions** is the account type's full permission set after applying this update.\n\n### Usage scenarios\n- Enable or disable specific permissions for a custom account type.\n","parameters":[{"name":"accountTypeId","schema":{"type":"string","description":"The unique identifier of the account type."},"in":"path","required":true}],"operationId":"updateAccountTypePermissions","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"type":"object","properties":{"add":{"type":"array","items":{"type":"string"},"description":"Permissions to turn on for this account type."},"remove":{"type":"array","items":{"type":"string"},"description":"Permissions to turn off for this account type."}}}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["accountTypeId","accountTypeName","description","isCustom","licenseType"],"properties":{"accountTypeId":{"type":"string","description":"The unique identifier of the account type."},"accountTypeName":{"type":"string","description":"The name of the account type."},"description":{"type":"string","description":"A human-readable description of the permissions and capabilities provided by this account type."},"isCustom":{"type":"boolean","description":"Whether this is a custom account type created by the organization (true) or a default Sigma account type (false)."},"licenseType":{"type":"string","description":"The license type of the account type."}}},{"type":"object","required":["permissions"],"properties":{"permissions":{"type":"array","items":{"type":"object","required":["permission","description"],"properties":{"permission":{"type":"string","description":"The permission name. For example, \"view-worksheet\"."},"description":{"type":"string","description":"A human-readable description of what this permission allows."}}},"description":"The account type's full set of permissions after applying this update."}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["accountTypes"]}},"/v2/api-connectors":{"get":{"summary":"List API connectors","description":"This endpoint returns a paginated list of API connectors. For more information on API connectors, see [Configure API credentials and connectors in Sigma](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma).\n\n### Usage notes\n- Only returns API connectors that the user making this request has at least **Can view** access to.\n- Use the `name` query parameter to filter by connector name.\n- Use the `orderBy` query parameter to set sort order.\n\n### Usage scenarios\n- **Connector discovery:** Retrieve a list of available API connectors available to users configuring **Call API** actions.\n- **Connector management:** View and audit the organization's API connectors.","parameters":[{"name":"pageToken","schema":{"type":"string","description":"Use to specify the next set of results with the string returned in the `nextPageToken` field of the previous response.","title":"Page token"},"in":"query"},{"name":"pageSize","schema":{"type":"integer","description":"Number of results to return per page, with a maximum of 1000. Defaults to 50.","title":"Page size"},"in":"query"},{"name":"orderBy","schema":{"type":"string","description":"Sort order. Supported fields: `name`, `description`. Append ` desc` for descending (e.g. `name desc`). Defaults to `name` ascending.","title":"Order by"},"in":"query"},{"name":"name","schema":{"type":"string","description":"Filter results to connectors whose name contains this substring."},"in":"query"}],"operationId":"listApiConnectors","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries"],"properties":{"entries":{"type":"array","items":{"type":"object","required":["apiConnectorId","name","description"],"properties":{"apiConnectorId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"description":"Array of results returned by the endpoint","title":"Result entries"}}},{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A string that can be passed to the `pageToken` parameter in the next request to fetch the next page of results. Not present in the last page of results.\n**Must be treated as an opaque string.**","title":"Next page token"}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["api-connectors"]},"post":{"summary":"Create an API connector","description":"This endpoint creates a new API connector that defines how to call an external HTTP endpoint from within Sigma. For more information on API connectors, see [Configure API credentials and connectors in Sigma](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma).\n\n### Usage notes\n- The user making this request must be assigned an account type with the **Manage API connectors** permission enabled.\n- If a credential is provided using the `authId` parameter, the user making this request must have at least **Can view** permission on the credential and the request URL must match the credential's allowlist.\n- Retrieve the **apiCredentialId** (used as `authId`) by calling the [/v2/api-credentials](https://help.sigmacomputing.com/reference/list-api-credentials) endpoint.\n\n### Usage scenarios\n- **Programmatic connector setup:** Automate creation of API connectors as part of an environment provisioning workflow.\n- **Integration onboarding:** Create connectors for each external service your workbooks need to interact with.","parameters":[],"operationId":"createApiConnector","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["name","params"],"properties":{"name":{"type":"string","description":"Display name of the connector."},"params":{"type":"object","required":["method","url","headers","pathParams","queryParams","body"],"properties":{"method":{"type":"string","enum":["GET","POST","DELETE","PATCH","PUT","OPTIONS","HEAD"],"description":"HTTP method to invoke."},"url":{"type":"string","description":"Request URL. Must resolve to a hostname matching the associated credential's allowlist."},"headers":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Static or dynamic request headers."},"pathParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Path parameter placeholders resolved into the URL."},"queryParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Query string parameters."},"body":{"type":"string","description":"Raw request body template."}}}}},{"type":"object","properties":{"description":{"type":"string","description":"Human-readable description."},"config":{"type":"object","properties":{"timeout":{"type":"object","required":["requestSec"],"properties":{"requestSec":{"type":"number"}},"description":"Per-request timeout configuration."},"retry":{"type":"object","required":["maxRetries","retryableStatusCodes"],"properties":{"maxRetries":{"type":"number"},"retryableStatusCodes":{"type":"array","items":{"type":"number"}}},"description":"Retry policy. `retryableStatusCodes` are HTTP codes that should trigger a retry."},"redirects":{"type":"object","required":["maxRedirects"],"properties":{"maxRedirects":{"type":"number"}},"description":"HTTP redirect handling."},"rateLimit":{"type":"object","required":["maxRequestsPerWindow"],"properties":{"maxRequestsPerWindow":{"type":"number"}},"description":"Rate limit applied to outbound requests from this connector."}}},"authId":{"type":"string","description":"Identifier of the API credential (`apiCredentialId`) used to authenticate requests."}}}]}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["apiConnectorId","name","params","config"],"properties":{"apiConnectorId":{"type":"string","description":"Unique identifier of the API connector."},"name":{"type":"string","description":"Display name of the connector."},"params":{"allOf":[{"type":"object","required":["method","url","headers","pathParams","queryParams","body"],"properties":{"method":{"type":"string","enum":["GET","POST","DELETE","PATCH","PUT","OPTIONS","HEAD"],"description":"HTTP method to invoke."},"url":{"type":"string","description":"Request URL. Must resolve to a hostname matching the associated credential's allowlist."},"headers":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Static or dynamic request headers."},"pathParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Path parameter placeholders resolved into the URL."},"queryParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Query string parameters."},"body":{"type":"string","description":"Raw request body template."}}},{"type":"object","required":["bodyParams"],"properties":{"bodyParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Dynamic parameters extracted from `body`."}}}]},"config":{"type":"object","required":["timeout","retry","redirects","rateLimit"],"properties":{"timeout":{"type":"object","required":["requestSec"],"properties":{"requestSec":{"type":"number"}},"description":"Per-request timeout configuration."},"retry":{"type":"object","required":["maxRetries","retryableStatusCodes"],"properties":{"maxRetries":{"type":"number"},"retryableStatusCodes":{"type":"array","items":{"type":"number"}}},"description":"Retry policy. `retryableStatusCodes` are HTTP codes that should trigger a retry."},"redirects":{"type":"object","required":["maxRedirects"],"properties":{"maxRedirects":{"type":"number"}},"description":"HTTP redirect handling."},"rateLimit":{"type":"object","required":["maxRequestsPerWindow"],"properties":{"maxRequestsPerWindow":{"type":"number"}},"description":"Rate limit applied to outbound requests from this connector."}}}}},{"type":"object","required":["createdBy","updatedBy","createdAt","updatedAt"],"properties":{"createdBy":{"type":"string","description":"The identifier of the user who created this object."},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated this object."},"createdAt":{"type":"string","format":"date-time","description":"When the object was created."},"updatedAt":{"type":"string","format":"date-time","description":"When the object was last updated."}}},{"type":"object","properties":{"description":{"type":"string","description":"Human-readable description."},"authId":{"type":["string","null"],"description":"Identifier of the API credential (`apiCredentialId`) used to authenticate requests. `null` if unauthenticated."}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["api-connectors"]}},"/v2/api-connectors/{apiConnectorId}":{"get":{"summary":"Get an API connector","description":"This endpoint returns full details for a single API connector, including its request parameters and configuration. For more information on API connectors, see [Configure API credentials and connectors in Sigma](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma).\n\n### Usage notes\n- Only returns API connectors that the user making this request has at least **Can view** access to.\n- Retrieve the **apiConnectorId** by calling the [/v2/api-connectors](https://help.sigmacomputing.com/reference/list-api-connectors) endpoint.\n\n### Usage scenarios\n- **Connector inspection:** Retrieve the full configuration of a connector for display or validation before use.\n- **Connector duplication:** Read an existing connector's configuration to use as the basis for a new one.","parameters":[{"name":"apiConnectorId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"getApiConnector","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["apiConnectorId","name","params","config"],"properties":{"apiConnectorId":{"type":"string","description":"Unique identifier of the API connector."},"name":{"type":"string","description":"Display name of the connector."},"params":{"allOf":[{"type":"object","required":["method","url","headers","pathParams","queryParams","body"],"properties":{"method":{"type":"string","enum":["GET","POST","DELETE","PATCH","PUT","OPTIONS","HEAD"],"description":"HTTP method to invoke."},"url":{"type":"string","description":"Request URL. Must resolve to a hostname matching the associated credential's allowlist."},"headers":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Static or dynamic request headers."},"pathParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Path parameter placeholders resolved into the URL."},"queryParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Query string parameters."},"body":{"type":"string","description":"Raw request body template."}}},{"type":"object","required":["bodyParams"],"properties":{"bodyParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Dynamic parameters extracted from `body`."}}}]},"config":{"type":"object","required":["timeout","retry","redirects","rateLimit"],"properties":{"timeout":{"type":"object","required":["requestSec"],"properties":{"requestSec":{"type":"number"}},"description":"Per-request timeout configuration."},"retry":{"type":"object","required":["maxRetries","retryableStatusCodes"],"properties":{"maxRetries":{"type":"number"},"retryableStatusCodes":{"type":"array","items":{"type":"number"}}},"description":"Retry policy. `retryableStatusCodes` are HTTP codes that should trigger a retry."},"redirects":{"type":"object","required":["maxRedirects"],"properties":{"maxRedirects":{"type":"number"}},"description":"HTTP redirect handling."},"rateLimit":{"type":"object","required":["maxRequestsPerWindow"],"properties":{"maxRequestsPerWindow":{"type":"number"}},"description":"Rate limit applied to outbound requests from this connector."}}}}},{"type":"object","required":["createdBy","updatedBy","createdAt","updatedAt"],"properties":{"createdBy":{"type":"string","description":"The identifier of the user who created this object."},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated this object."},"createdAt":{"type":"string","format":"date-time","description":"When the object was created."},"updatedAt":{"type":"string","format":"date-time","description":"When the object was last updated."}}},{"type":"object","properties":{"description":{"type":"string","description":"Human-readable description."},"authId":{"type":["string","null"],"description":"Identifier of the API credential (`apiCredentialId`) used to authenticate requests. `null` if unauthenticated."}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["api-connectors"]},"patch":{"summary":"Update an API connector","description":"This endpoint updates one or more fields on an existing API connector. For more information on API connectors, see [Configure API credentials and connectors in Sigma](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma).\n\n### Usage notes\n- Retrieve the **apiConnectorId** by calling the [/v2/api-connectors](https://help.sigmacomputing.com/reference/list-api-connectors) endpoint.\n- The user making this request must be assigned an account type with the **Manage API connectors** permission enabled and must have **Can edit** access to the connector.\n- Omitted fields are left unchanged. Pass `null` for `authId` to remove the credential association.\n\n### Usage scenarios\n- **Endpoint migration:** Update the connector URL or parameters when an external API changes its interface.\n- **Credential rotation:** Rebind the connector to a new credential after rotating secrets.","parameters":[{"name":"apiConnectorId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"updateApiConnector","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"New display name."},"description":{"type":["string","null"],"description":"New description. Pass `null` to clear."},"params":{"type":"object","required":["method","url","headers","pathParams","queryParams","body"],"properties":{"method":{"type":"string","enum":["GET","POST","DELETE","PATCH","PUT","OPTIONS","HEAD"],"description":"HTTP method to invoke."},"url":{"type":"string","description":"Request URL. Must resolve to a hostname matching the associated credential's allowlist."},"headers":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Static or dynamic request headers."},"pathParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Path parameter placeholders resolved into the URL."},"queryParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Query string parameters."},"body":{"type":"string","description":"Raw request body template."}}},"config":{"type":"object","properties":{"timeout":{"type":"object","required":["requestSec"],"properties":{"requestSec":{"type":"number"}},"description":"Per-request timeout configuration."},"retry":{"type":"object","required":["maxRetries","retryableStatusCodes"],"properties":{"maxRetries":{"type":"number"},"retryableStatusCodes":{"type":"array","items":{"type":"number"}}},"description":"Retry policy. `retryableStatusCodes` are HTTP codes that should trigger a retry."},"redirects":{"type":"object","required":["maxRedirects"],"properties":{"maxRedirects":{"type":"number"}},"description":"HTTP redirect handling."},"rateLimit":{"type":"object","required":["maxRequestsPerWindow"],"properties":{"maxRequestsPerWindow":{"type":"number"}},"description":"Rate limit applied to outbound requests from this connector."}}},"authId":{"type":["string","null"],"description":"New credential binding. Pass `null` to remove the credential."}}}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["apiConnectorId","name","params","config"],"properties":{"apiConnectorId":{"type":"string","description":"Unique identifier of the API connector."},"name":{"type":"string","description":"Display name of the connector."},"params":{"allOf":[{"type":"object","required":["method","url","headers","pathParams","queryParams","body"],"properties":{"method":{"type":"string","enum":["GET","POST","DELETE","PATCH","PUT","OPTIONS","HEAD"],"description":"HTTP method to invoke."},"url":{"type":"string","description":"Request URL. Must resolve to a hostname matching the associated credential's allowlist."},"headers":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Static or dynamic request headers."},"pathParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Path parameter placeholders resolved into the URL."},"queryParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Query string parameters."},"body":{"type":"string","description":"Raw request body template."}}},{"type":"object","required":["bodyParams"],"properties":{"bodyParams":{"type":"array","items":{"allOf":[{"type":"object","required":["key","mode"],"properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["static","dynamic"]}}},{"type":"object","properties":{"value":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["array","boolean","number","object","raw","string"]},"shape":{"oneOf":[{"$ref":"#/components/schemas/ParamShapeNode"},{"type":"null"}]}}}]},"description":"Dynamic parameters extracted from `body`."}}}]},"config":{"type":"object","required":["timeout","retry","redirects","rateLimit"],"properties":{"timeout":{"type":"object","required":["requestSec"],"properties":{"requestSec":{"type":"number"}},"description":"Per-request timeout configuration."},"retry":{"type":"object","required":["maxRetries","retryableStatusCodes"],"properties":{"maxRetries":{"type":"number"},"retryableStatusCodes":{"type":"array","items":{"type":"number"}}},"description":"Retry policy. `retryableStatusCodes` are HTTP codes that should trigger a retry."},"redirects":{"type":"object","required":["maxRedirects"],"properties":{"maxRedirects":{"type":"number"}},"description":"HTTP redirect handling."},"rateLimit":{"type":"object","required":["maxRequestsPerWindow"],"properties":{"maxRequestsPerWindow":{"type":"number"}},"description":"Rate limit applied to outbound requests from this connector."}}}}},{"type":"object","required":["createdBy","updatedBy","createdAt","updatedAt"],"properties":{"createdBy":{"type":"string","description":"The identifier of the user who created this object."},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated this object."},"createdAt":{"type":"string","format":"date-time","description":"When the object was created."},"updatedAt":{"type":"string","format":"date-time","description":"When the object was last updated."}}},{"type":"object","properties":{"description":{"type":"string","description":"Human-readable description."},"authId":{"type":["string","null"],"description":"Identifier of the API credential (`apiCredentialId`) used to authenticate requests. `null` if unauthenticated."}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["api-connectors"]},"delete":{"summary":"Delete an API connector","description":"This endpoint archives an API connector, preventing it from being used in new workbook actions. For more information on API connectors, see [Configure API credentials and connectors in Sigma](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma).\n\n### Usage notes\n- Retrieve the **apiConnectorId** by calling the [/v2/api-connectors](https://help.sigmacomputing.com/reference/list-api-connectors) endpoint.\n- The user making this request must be assigned an account type with the **Manage API connectors** permission enabled and must have **Can edit** access to the connector.\n\n### Usage scenarios\n- **Cleanup:** Remove connectors that are no longer in use to keep the organization's connector list tidy.\n- **Decommissioning:** Archive connectors associated with deprecated or retired external services.","parameters":[{"name":"apiConnectorId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"deleteApiConnector","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["api-connectors"]}},"/v2/api-credentials":{"get":{"summary":"List API credentials","description":"This endpoint returns a paginated list of API credentials. For more information on API credentials, see [Configure API credentials and connectors in Sigma](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma).\n\n### Usage notes\n- The user making this request must be assigned an account type with the **Manage API connectors** permission enabled.\n- Only returns [API credentials](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma#add-a-new-api-credential-to-sigma) that the user making this request has at least **Can view** access to.\n- Secret fields such as passwords, tokens, and client secrets are never included in the response.\n- Use the `name` query parameter to filter by credential name.\n- Use the `orderBy` query parameter to set sort order.\n\n### Usage scenarios\n- **Credential management:** View and audit the credentials used by API connectors in your Sigma organization.\n- **API connector creation:** Retrieve available credentials to present as options when creating an API connector.","parameters":[{"name":"pageToken","schema":{"type":"string","description":"Use to specify the next set of results with the string returned in the `nextPageToken` field of the previous response.","title":"Page token"},"in":"query"},{"name":"pageSize","schema":{"type":"integer","description":"Number of results to return per page, with a maximum of 1000. Defaults to 50.","title":"Page size"},"in":"query"},{"name":"orderBy","schema":{"type":"string","description":"Sort order. Supported fields: `name`, `description`. Append ` desc` for descending (e.g. `name desc`). Defaults to `name` ascending.","title":"Order by"},"in":"query"},{"name":"name","schema":{"type":"string","description":"Filter results to credentials whose name contains this substring."},"in":"query"}],"operationId":"listApiCredentials","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries"],"properties":{"entries":{"type":"array","items":{"allOf":[{"type":"object","required":["apiCredentialId","name","authMethod","allowlist"],"properties":{"apiCredentialId":{"type":"string","description":"Unique identifier of the API credential."},"name":{"type":"string","description":"Display name of the credential."},"authMethod":{"type":"string","enum":["basic","bearer","apiKey","oAuthClientCredentials","oAuthAuthorizationCode","oAuthPasswordCredentials","awsSigV4"],"description":"Authentication method the credential uses."},"allowlist":{"type":"array","items":{"type":"string"},"description":"Hostname glob patterns the credential is authorized to be used against."}}},{"type":"object","properties":{"description":{"type":"string","description":"Human-readable description."}}}]},"description":"Array of results returned by the endpoint","title":"Result entries"}}},{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A string that can be passed to the `pageToken` parameter in the next request to fetch the next page of results. Not present in the last page of results.\n**Must be treated as an opaque string.**","title":"Next page token"}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["api-credentials"]},"post":{"summary":"Create an API credential","description":"This endpoint creates a new API credential for use with API connectors and the **Call API** action in Sigma. For more information on API credentials, see [Configure API credentials and connectors in Sigma](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma).\n\n### Usage notes\n- The user making this request must be assigned an account type with the **Manage API connectors** permission enabled.\n- The `allowlist` parameter is required and must contain at least one hostname glob pattern. Use `[\"*\"]` to allow the credential to be used against any host.\n- The following authentication methods are supported: `basic`, `bearer`, `apiKey`, `oAuthClientCredentials`, `oAuthAuthorizationCode`, `oAuthPasswordCredentials`, `awsSigV4`.\n- Secret fields are encrypted at rest and are never returned in subsequent read responses.\n\n### Usage scenarios\n- **Credential provisioning:** Automate credential creation as part of environment setup or onboarding.\n- **Multi-service authentication:** Create separate credentials for each external service, with allowlists scoped to only that service's domains.","parameters":[],"operationId":"createApiCredential","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["name","allowlist","credential"],"properties":{"name":{"type":"string","description":"Display name of the credential."},"allowlist":{"type":"array","items":{"type":"string"},"description":"Hostname glob patterns the credential may be used against (e.g. `[\"*.example.com\"]`). Required and must not be empty; use `[\"*\"]` to allow every host."},"credential":{"oneOf":[{"type":"object","required":["authMethod","basic"],"properties":{"authMethod":{"type":"string","enum":["basic"]},"basic":{"type":"object","required":["username","password"],"properties":{"username":{"type":"string","description":"Username for Basic authentication."},"password":{"type":"string","description":"Password for Basic authentication. Encrypted at rest; never returned in responses."}}}},"description":"","title":"Basic"},{"type":"object","required":["authMethod","bearer"],"properties":{"authMethod":{"type":"string","enum":["bearer"]},"bearer":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"Bearer token. Encrypted at rest; never returned in responses."}}}},"description":"","title":"Bearer"},{"type":"object","required":["authMethod","apiKey"],"properties":{"authMethod":{"type":"string","enum":["apiKey"]},"apiKey":{"type":"object","required":["key","value","isQueryParam"],"properties":{"key":{"type":"string","description":"Header or query parameter name carrying the API key."},"value":{"type":"string","description":"API key value. Encrypted at rest; never returned in responses."},"isQueryParam":{"type":"boolean","description":"Whether the key is sent as a query parameter; if false, it is sent as a header."}}}},"description":"","title":"API key"},{"type":"object","required":["authMethod","oAuthClientCredentials"],"properties":{"authMethod":{"type":"string","enum":["oAuthClientCredentials"]},"oAuthClientCredentials":{"type":"object","required":["clientId","clientSecret","accessTokenUrl","scopes","accessTokenAuthMethod"],"properties":{"clientId":{"type":"string","description":"OAuth client ID."},"clientSecret":{"type":"string","description":"OAuth client secret. Encrypted at rest; never returned in responses."},"accessTokenUrl":{"type":"string","description":"OAuth token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes requested at token exchange."},"accessTokenAuthMethod":{"type":"string","enum":["httpBasic","requestBody"],"description":"How client credentials are presented to the token endpoint."}}}},"description":"","title":"OAuth client credentials"},{"type":"object","required":["authMethod","awsSigV4"],"properties":{"authMethod":{"type":"string","enum":["awsSigV4"]},"awsSigV4":{"allOf":[{"type":"object","required":["accessKeyId","secretAccessKey"],"properties":{"accessKeyId":{"type":"string","description":"AWS access key ID."},"secretAccessKey":{"type":"string","description":"AWS secret access key. Encrypted at rest; never returned in responses."}}},{"type":"object","properties":{"region":{"type":"string","description":"AWS region for SigV4 signing."},"service":{"type":"string","description":"AWS service name for SigV4 signing (e.g. `s3`, `execute-api`)."},"sessionToken":{"type":"string","description":"AWS STS session token for temporary credentials."},"temporaryCredentialsUrl":{"type":"string","description":"URL that vends temporary credentials (e.g. STS AssumeRole endpoint)."},"temporaryCredentialsResponseMapping":{"type":"object","properties":{"accessKeyField":{"type":"string"},"secretKeyField":{"type":"string"},"sessionTokenField":{"type":"string"},"expirationField":{"type":"string"}}},"temporaryCredentialsRequestParams":{"type":"array","items":{"type":"object","required":["key","value","sendIn"],"properties":{"key":{"type":"string"},"value":{"type":"string"},"sendIn":{"type":"string","enum":["queryParam","body","header"]}}},"description":"Additional key/value parameters attached to the temporary-credentials swap request. Each entry specifies whether it is sent as a request header, body field, or query parameter (`sendIn`: `header` | `body` | `queryParam`). Use this when the swap endpoint requires its own authentication (for example, an `x-api-key` header)."}}}]}},"description":"","title":"AWS SigV4"}]}}},{"type":"object","properties":{"description":{"type":"string","description":"Human-readable description."}}}]}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["apiCredentialId","name","authMethod","allowlist","credential"],"properties":{"apiCredentialId":{"type":"string","description":"Unique identifier of the API credential."},"name":{"type":"string","description":"Display name of the credential."},"authMethod":{"type":"string","enum":["basic","bearer","apiKey","oAuthClientCredentials","oAuthAuthorizationCode","oAuthPasswordCredentials","awsSigV4"],"description":"Authentication method the credential uses."},"allowlist":{"type":"array","items":{"type":"string"},"description":"Hostname glob patterns (e.g. `*.example.com`) that the credential is authorized to be used against."},"credential":{"oneOf":[{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["basic"]}}},{"type":"object","properties":{"basic":{"type":"object","required":["username"],"properties":{"username":{"type":"string","description":"Username for Basic authentication."}}}}}],"description":"","title":"Basic"},{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["bearer"]}},"description":"","title":"Bearer"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["apiKey"]}}},{"type":"object","properties":{"apiKey":{"type":"object","required":["key","isQueryParam"],"properties":{"key":{"type":"string","description":"Header or query parameter name carrying the API key."},"isQueryParam":{"type":"boolean","description":"Whether the key is sent as a query parameter; if false, it is sent as a header."}}}}}],"description":"","title":"API key"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["oAuthClientCredentials"]}}},{"type":"object","properties":{"oAuthClientCredentials":{"type":"object","required":["clientId","accessTokenUrl","scopes","accessTokenAuthMethod"],"properties":{"clientId":{"type":"string","description":"OAuth client ID."},"accessTokenUrl":{"type":"string","description":"OAuth token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes requested at token exchange."},"accessTokenAuthMethod":{"type":"string","enum":["httpBasic","requestBody"],"description":"How client credentials are presented to the token endpoint."}}}}}],"description":"","title":"OAuth client credentials"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["oAuthAuthorizationCode"]}}},{"type":"object","properties":{"oAuthAuthorizationCode":{"type":"object","required":["clientId","authorizationUrl","accessTokenUrl","scopes","accessTokenAuthMethod"],"properties":{"clientId":{"type":"string","description":"OAuth client ID."},"authorizationUrl":{"type":"string","description":"OAuth authorization endpoint URL."},"accessTokenUrl":{"type":"string","description":"OAuth token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes."},"accessTokenAuthMethod":{"type":"string","enum":["httpBasic","requestBody"],"description":"How client credentials are presented to the token endpoint."}}}}}],"description":"","title":"OAuth authorization code"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["oAuthPasswordCredentials"]}}},{"type":"object","properties":{"oAuthPasswordCredentials":{"allOf":[{"type":"object","required":["username","accessTokenUrl","scopes","accessTokenAuthMethod"],"properties":{"username":{"type":"string","description":"OAuth resource-owner username."},"accessTokenUrl":{"type":"string","description":"OAuth token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes."},"accessTokenAuthMethod":{"type":"string","enum":["httpBasic","requestBody"],"description":"How client credentials are presented to the token endpoint."}}},{"type":"object","properties":{"clientId":{"type":"string","description":"OAuth client ID."}}}]}}}],"description":"","title":"OAuth password credentials"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["awsSigV4"]}}},{"type":"object","properties":{"awsSigV4":{"allOf":[{"type":"object","required":["accessKeyId"],"properties":{"accessKeyId":{"type":"string","description":"AWS access key ID."}}},{"type":"object","properties":{"region":{"type":"string","description":"AWS region for SigV4 signing."},"service":{"type":"string","description":"AWS service name for SigV4 signing (e.g. `s3`, `execute-api`)."},"temporaryCredentialsUrl":{"type":"string","description":"URL that vends temporary credentials (e.g. STS AssumeRole endpoint)."},"temporaryCredentialsResponseMapping":{"type":"object","properties":{"accessKeyField":{"type":"string"},"secretKeyField":{"type":"string"},"sessionTokenField":{"type":"string"},"expirationField":{"type":"string"}}},"temporaryCredentialsRequestParams":{"type":"array","items":{"type":"object","required":["key","value","sendIn"],"properties":{"key":{"type":"string"},"value":{"type":"string"},"sendIn":{"type":"string","enum":["queryParam","body","header"]}}},"description":"Additional parameters sent on the temporary-credentials swap request, each tagged with `sendIn` (`header` | `body` | `queryParam`)."}}}]}}}],"description":"","title":"AWS SigV4"}],"description":"Nonsensitive projection of the credential, discriminated by `authMethod`. Secret fields (password, token, clientSecret, secretAccessKey) are never returned."}}},{"type":"object","required":["createdBy","updatedBy","createdAt","updatedAt"],"properties":{"createdBy":{"type":"string","description":"The identifier of the user who created this object."},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated this object."},"createdAt":{"type":"string","format":"date-time","description":"When the object was created."},"updatedAt":{"type":"string","format":"date-time","description":"When the object was last updated."}}},{"type":"object","properties":{"description":{"type":"string","description":"Human-readable description."}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["api-credentials"]}},"/v2/api-credentials/{apiCredentialId}":{"get":{"summary":"Get an API credential","description":"This endpoint returns nonsensitive details for a single API credential. For more information on API credentials, see [Configure API credentials and connectors in Sigma](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma).\n\n### Usage notes\n- The user making this request must be assigned an account type with the **Manage API connectors** permission enabled and have at least **Can view** access on the credential.\n- Retrieve the **apiCredentialId** by calling the [/v2/api-credentials](https://help.sigmacomputing.com/reference/list-api-credentials) endpoint.\n- Secret fields (passwords, tokens, client secrets, secret access keys) are never returned.\n\n### Usage scenarios\n- **Credential inspection:** Retrieve the configuration of a credential to verify its settings before using it with a connector.","parameters":[{"name":"apiCredentialId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"getApiCredential","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["apiCredentialId","name","authMethod","allowlist","credential"],"properties":{"apiCredentialId":{"type":"string","description":"Unique identifier of the API credential."},"name":{"type":"string","description":"Display name of the credential."},"authMethod":{"type":"string","enum":["basic","bearer","apiKey","oAuthClientCredentials","oAuthAuthorizationCode","oAuthPasswordCredentials","awsSigV4"],"description":"Authentication method the credential uses."},"allowlist":{"type":"array","items":{"type":"string"},"description":"Hostname glob patterns (e.g. `*.example.com`) that the credential is authorized to be used against."},"credential":{"oneOf":[{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["basic"]}}},{"type":"object","properties":{"basic":{"type":"object","required":["username"],"properties":{"username":{"type":"string","description":"Username for Basic authentication."}}}}}],"description":"","title":"Basic"},{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["bearer"]}},"description":"","title":"Bearer"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["apiKey"]}}},{"type":"object","properties":{"apiKey":{"type":"object","required":["key","isQueryParam"],"properties":{"key":{"type":"string","description":"Header or query parameter name carrying the API key."},"isQueryParam":{"type":"boolean","description":"Whether the key is sent as a query parameter; if false, it is sent as a header."}}}}}],"description":"","title":"API key"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["oAuthClientCredentials"]}}},{"type":"object","properties":{"oAuthClientCredentials":{"type":"object","required":["clientId","accessTokenUrl","scopes","accessTokenAuthMethod"],"properties":{"clientId":{"type":"string","description":"OAuth client ID."},"accessTokenUrl":{"type":"string","description":"OAuth token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes requested at token exchange."},"accessTokenAuthMethod":{"type":"string","enum":["httpBasic","requestBody"],"description":"How client credentials are presented to the token endpoint."}}}}}],"description":"","title":"OAuth client credentials"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["oAuthAuthorizationCode"]}}},{"type":"object","properties":{"oAuthAuthorizationCode":{"type":"object","required":["clientId","authorizationUrl","accessTokenUrl","scopes","accessTokenAuthMethod"],"properties":{"clientId":{"type":"string","description":"OAuth client ID."},"authorizationUrl":{"type":"string","description":"OAuth authorization endpoint URL."},"accessTokenUrl":{"type":"string","description":"OAuth token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes."},"accessTokenAuthMethod":{"type":"string","enum":["httpBasic","requestBody"],"description":"How client credentials are presented to the token endpoint."}}}}}],"description":"","title":"OAuth authorization code"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["oAuthPasswordCredentials"]}}},{"type":"object","properties":{"oAuthPasswordCredentials":{"allOf":[{"type":"object","required":["username","accessTokenUrl","scopes","accessTokenAuthMethod"],"properties":{"username":{"type":"string","description":"OAuth resource-owner username."},"accessTokenUrl":{"type":"string","description":"OAuth token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes."},"accessTokenAuthMethod":{"type":"string","enum":["httpBasic","requestBody"],"description":"How client credentials are presented to the token endpoint."}}},{"type":"object","properties":{"clientId":{"type":"string","description":"OAuth client ID."}}}]}}}],"description":"","title":"OAuth password credentials"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["awsSigV4"]}}},{"type":"object","properties":{"awsSigV4":{"allOf":[{"type":"object","required":["accessKeyId"],"properties":{"accessKeyId":{"type":"string","description":"AWS access key ID."}}},{"type":"object","properties":{"region":{"type":"string","description":"AWS region for SigV4 signing."},"service":{"type":"string","description":"AWS service name for SigV4 signing (e.g. `s3`, `execute-api`)."},"temporaryCredentialsUrl":{"type":"string","description":"URL that vends temporary credentials (e.g. STS AssumeRole endpoint)."},"temporaryCredentialsResponseMapping":{"type":"object","properties":{"accessKeyField":{"type":"string"},"secretKeyField":{"type":"string"},"sessionTokenField":{"type":"string"},"expirationField":{"type":"string"}}},"temporaryCredentialsRequestParams":{"type":"array","items":{"type":"object","required":["key","value","sendIn"],"properties":{"key":{"type":"string"},"value":{"type":"string"},"sendIn":{"type":"string","enum":["queryParam","body","header"]}}},"description":"Additional parameters sent on the temporary-credentials swap request, each tagged with `sendIn` (`header` | `body` | `queryParam`)."}}}]}}}],"description":"","title":"AWS SigV4"}],"description":"Nonsensitive projection of the credential, discriminated by `authMethod`. Secret fields (password, token, clientSecret, secretAccessKey) are never returned."}}},{"type":"object","required":["createdBy","updatedBy","createdAt","updatedAt"],"properties":{"createdBy":{"type":"string","description":"The identifier of the user who created this object."},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated this object."},"createdAt":{"type":"string","format":"date-time","description":"When the object was created."},"updatedAt":{"type":"string","format":"date-time","description":"When the object was last updated."}}},{"type":"object","properties":{"description":{"type":"string","description":"Human-readable description."}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["api-credentials"]},"patch":{"summary":"Update an API credential","description":"This endpoint updates one or more fields on an existing API credential. For more information on API credentials, see [Configure API credentials and connectors in Sigma](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma).\n\n### Usage notes\n- The user making this request must be assigned an account type with the **Manage API connectors** permission enabled and have **Can edit** access to the API credential.\n- Retrieve the **apiCredentialId** by calling the [/v2/api-credentials](https://help.sigmacomputing.com/reference/list-api-credentials) endpoint.\n- Omitted fields are left unchanged.\n- If a `credential` is provided, the provided authentication details (ID, secret, etc.) replace the previous values. To leave secrets unchanged, omit the `credential` parameter.\n\n### Usage scenarios\n- **Secret rotation:** Update the secret fields for a credential automatically for an external service.\n- **Allowlist updates:** Expand or restrict the set of hostnames the credential can be used against.","parameters":[{"name":"apiCredentialId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"updateApiCredential","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"New display name."},"description":{"type":["string","null"],"description":"New description. Pass `null` to clear."},"allowlist":{"type":"array","items":{"type":"string"},"description":"Replacement list of hostname glob patterns. Must not be empty; use `[\"*\"]` to allow every host."},"credential":{"oneOf":[{"type":"object","required":["authMethod","basic"],"properties":{"authMethod":{"type":"string","enum":["basic"]},"basic":{"type":"object","required":["username","password"],"properties":{"username":{"type":"string","description":"Username for Basic authentication."},"password":{"type":"string","description":"Password for Basic authentication. Encrypted at rest; never returned in responses."}}}},"description":"","title":"Basic"},{"type":"object","required":["authMethod","bearer"],"properties":{"authMethod":{"type":"string","enum":["bearer"]},"bearer":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"Bearer token. Encrypted at rest; never returned in responses."}}}},"description":"","title":"Bearer"},{"type":"object","required":["authMethod","apiKey"],"properties":{"authMethod":{"type":"string","enum":["apiKey"]},"apiKey":{"type":"object","required":["key","value","isQueryParam"],"properties":{"key":{"type":"string","description":"Header or query parameter name carrying the API key."},"value":{"type":"string","description":"API key value. Encrypted at rest; never returned in responses."},"isQueryParam":{"type":"boolean","description":"Whether the key is sent as a query parameter; if false, it is sent as a header."}}}},"description":"","title":"API key"},{"type":"object","required":["authMethod","oAuthClientCredentials"],"properties":{"authMethod":{"type":"string","enum":["oAuthClientCredentials"]},"oAuthClientCredentials":{"type":"object","required":["clientId","clientSecret","accessTokenUrl","scopes","accessTokenAuthMethod"],"properties":{"clientId":{"type":"string","description":"OAuth client ID."},"clientSecret":{"type":"string","description":"OAuth client secret. Encrypted at rest; never returned in responses."},"accessTokenUrl":{"type":"string","description":"OAuth token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes requested at token exchange."},"accessTokenAuthMethod":{"type":"string","enum":["httpBasic","requestBody"],"description":"How client credentials are presented to the token endpoint."}}}},"description":"","title":"OAuth client credentials"},{"type":"object","required":["authMethod","awsSigV4"],"properties":{"authMethod":{"type":"string","enum":["awsSigV4"]},"awsSigV4":{"allOf":[{"type":"object","required":["accessKeyId","secretAccessKey"],"properties":{"accessKeyId":{"type":"string","description":"AWS access key ID."},"secretAccessKey":{"type":"string","description":"AWS secret access key. Encrypted at rest; never returned in responses."}}},{"type":"object","properties":{"region":{"type":"string","description":"AWS region for SigV4 signing."},"service":{"type":"string","description":"AWS service name for SigV4 signing (e.g. `s3`, `execute-api`)."},"sessionToken":{"type":"string","description":"AWS STS session token for temporary credentials."},"temporaryCredentialsUrl":{"type":"string","description":"URL that vends temporary credentials (e.g. STS AssumeRole endpoint)."},"temporaryCredentialsResponseMapping":{"type":"object","properties":{"accessKeyField":{"type":"string"},"secretKeyField":{"type":"string"},"sessionTokenField":{"type":"string"},"expirationField":{"type":"string"}}},"temporaryCredentialsRequestParams":{"type":"array","items":{"type":"object","required":["key","value","sendIn"],"properties":{"key":{"type":"string"},"value":{"type":"string"},"sendIn":{"type":"string","enum":["queryParam","body","header"]}}},"description":"Additional key/value parameters attached to the temporary-credentials swap request. Each entry specifies whether it is sent as a request header, body field, or query parameter (`sendIn`: `header` | `body` | `queryParam`). Use this when the swap endpoint requires its own authentication (for example, an `x-api-key` header)."}}}]}},"description":"","title":"AWS SigV4"}]}}}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["apiCredentialId","name","authMethod","allowlist","credential"],"properties":{"apiCredentialId":{"type":"string","description":"Unique identifier of the API credential."},"name":{"type":"string","description":"Display name of the credential."},"authMethod":{"type":"string","enum":["basic","bearer","apiKey","oAuthClientCredentials","oAuthAuthorizationCode","oAuthPasswordCredentials","awsSigV4"],"description":"Authentication method the credential uses."},"allowlist":{"type":"array","items":{"type":"string"},"description":"Hostname glob patterns (e.g. `*.example.com`) that the credential is authorized to be used against."},"credential":{"oneOf":[{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["basic"]}}},{"type":"object","properties":{"basic":{"type":"object","required":["username"],"properties":{"username":{"type":"string","description":"Username for Basic authentication."}}}}}],"description":"","title":"Basic"},{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["bearer"]}},"description":"","title":"Bearer"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["apiKey"]}}},{"type":"object","properties":{"apiKey":{"type":"object","required":["key","isQueryParam"],"properties":{"key":{"type":"string","description":"Header or query parameter name carrying the API key."},"isQueryParam":{"type":"boolean","description":"Whether the key is sent as a query parameter; if false, it is sent as a header."}}}}}],"description":"","title":"API key"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["oAuthClientCredentials"]}}},{"type":"object","properties":{"oAuthClientCredentials":{"type":"object","required":["clientId","accessTokenUrl","scopes","accessTokenAuthMethod"],"properties":{"clientId":{"type":"string","description":"OAuth client ID."},"accessTokenUrl":{"type":"string","description":"OAuth token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes requested at token exchange."},"accessTokenAuthMethod":{"type":"string","enum":["httpBasic","requestBody"],"description":"How client credentials are presented to the token endpoint."}}}}}],"description":"","title":"OAuth client credentials"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["oAuthAuthorizationCode"]}}},{"type":"object","properties":{"oAuthAuthorizationCode":{"type":"object","required":["clientId","authorizationUrl","accessTokenUrl","scopes","accessTokenAuthMethod"],"properties":{"clientId":{"type":"string","description":"OAuth client ID."},"authorizationUrl":{"type":"string","description":"OAuth authorization endpoint URL."},"accessTokenUrl":{"type":"string","description":"OAuth token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes."},"accessTokenAuthMethod":{"type":"string","enum":["httpBasic","requestBody"],"description":"How client credentials are presented to the token endpoint."}}}}}],"description":"","title":"OAuth authorization code"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["oAuthPasswordCredentials"]}}},{"type":"object","properties":{"oAuthPasswordCredentials":{"allOf":[{"type":"object","required":["username","accessTokenUrl","scopes","accessTokenAuthMethod"],"properties":{"username":{"type":"string","description":"OAuth resource-owner username."},"accessTokenUrl":{"type":"string","description":"OAuth token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes."},"accessTokenAuthMethod":{"type":"string","enum":["httpBasic","requestBody"],"description":"How client credentials are presented to the token endpoint."}}},{"type":"object","properties":{"clientId":{"type":"string","description":"OAuth client ID."}}}]}}}],"description":"","title":"OAuth password credentials"},{"allOf":[{"type":"object","required":["authMethod"],"properties":{"authMethod":{"type":"string","enum":["awsSigV4"]}}},{"type":"object","properties":{"awsSigV4":{"allOf":[{"type":"object","required":["accessKeyId"],"properties":{"accessKeyId":{"type":"string","description":"AWS access key ID."}}},{"type":"object","properties":{"region":{"type":"string","description":"AWS region for SigV4 signing."},"service":{"type":"string","description":"AWS service name for SigV4 signing (e.g. `s3`, `execute-api`)."},"temporaryCredentialsUrl":{"type":"string","description":"URL that vends temporary credentials (e.g. STS AssumeRole endpoint)."},"temporaryCredentialsResponseMapping":{"type":"object","properties":{"accessKeyField":{"type":"string"},"secretKeyField":{"type":"string"},"sessionTokenField":{"type":"string"},"expirationField":{"type":"string"}}},"temporaryCredentialsRequestParams":{"type":"array","items":{"type":"object","required":["key","value","sendIn"],"properties":{"key":{"type":"string"},"value":{"type":"string"},"sendIn":{"type":"string","enum":["queryParam","body","header"]}}},"description":"Additional parameters sent on the temporary-credentials swap request, each tagged with `sendIn` (`header` | `body` | `queryParam`)."}}}]}}}],"description":"","title":"AWS SigV4"}],"description":"Nonsensitive projection of the credential, discriminated by `authMethod`. Secret fields (password, token, clientSecret, secretAccessKey) are never returned."}}},{"type":"object","required":["createdBy","updatedBy","createdAt","updatedAt"],"properties":{"createdBy":{"type":"string","description":"The identifier of the user who created this object."},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated this object."},"createdAt":{"type":"string","format":"date-time","description":"When the object was created."},"updatedAt":{"type":"string","format":"date-time","description":"When the object was last updated."}}},{"type":"object","properties":{"description":{"type":"string","description":"Human-readable description."}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["api-credentials"]},"delete":{"summary":"Delete an API credential","description":"This endpoint archives an API credential so it can no longer be associated with new API connectors. For more information on API credentials, see [Configure API credentials and connectors in Sigma](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma).\n\n### Usage notes\n- The user making this request must be assigned an account type with the **Manage API connectors** permission enabled and have **Can edit** access to the API credential.\n- Retrieve the **apiCredentialId** by calling the [/v2/api-credentials](https://help.sigmacomputing.com/reference/list-api-credentials) endpoint.\n- Archiving a credential does not automatically unbind any API connectors that reference it.\n\n### Usage scenarios\n- **Credential decommissioning:** Remove credentials for decommissioned services or expired tokens.\n- **Security cleanup:** Archive compromised or rotated credentials to prevent accidental reuse.","parameters":[{"name":"apiCredentialId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"deleteApiCredential","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["api-credentials"]}},"/v2/auth/token":{"post":{"summary":"Get access token","description":"Use your Sigma client ID and secret with this endpoint to generate an access token valid for one hour, or to refresh your token. You can then use the access token to authenticate requests made to the Sigma API.\n\nTo make any API call with the Sigma API, including calls from the API documentation, you must have a valid bearer token. To generate a token, you must have a valid **Client ID** and **Secret**. See [Generate Sigma API client credentials](generate-client-credentials).\n\nYou make all API calls to a specific URL that corresponds to the cloud where your Sigma environment is hosted. Set the **Base URL** to the relevant URL for your environment. For details, see [Identify your API request URL](get-started-sigma-api#identify-your-api-request-url).\n\nGenerate a token by sending a POST request to this `/v2/auth/token` endpoint, or use the **Try It!** option on this page.\n\n### Usage notes\n\n- The API token is valid for 1 hour. When the token expires, an endpoint response returns an unauthorized error.\n- Refresh your access token before it expires using the `refresh_token` option.\n- If your client credentials are owned by a user assigned the Admin account type, you can generate an access token as a specific user using impersonation.\n- By default, the token is granted the `api:access` scope. To use the token with the Sigma MCP server, include the `mcp:access` scope in your request (Beta).\n  ","parameters":[],"operationId":"postToken","requestBody":{"description":"The request body.","content":{"application/x-www-form-urlencoded":{"schema":{"oneOf":[{"allOf":[{"type":"object","required":["grant_type"],"properties":{"grant_type":{"type":"string","enum":["client_credentials"],"description":"Set to `client_credentials` to retrieve an access token."}}},{"type":"object","properties":{"scope":{"type":"string","description":"The scopes to request for the token. Request `api:access` to access the Sigma REST API, `mcp:access` to access the Sigma MCP server, or send both scopes, space-delimited, to use one token for both. Defaults to `api:access` when omitted. On refresh, emits the originally granted scopes.\n\n**Beta**: This documentation describes a public beta feature and is subject to the [Beta features](/docs/sigma-product-releases#beta-features) disclaimer.","title":"Scope"}}}],"description":"","title":"Access token"},{"allOf":[{"type":"object","required":["grant_type","refresh_token"],"properties":{"grant_type":{"type":"string","enum":["refresh_token"],"description":"Set to `refresh_token` to refresh your access token. "},"refresh_token":{"type":"string"}}},{"type":"object","properties":{"scope":{"type":"string","description":"The scopes to request for the token. Request `api:access` to access the Sigma REST API, `mcp:access` to access the Sigma MCP server, or send both scopes, space-delimited, to use one token for both. Defaults to `api:access` when omitted. On refresh, emits the originally granted scopes.\n\n**Beta**: This documentation describes a public beta feature and is subject to the [Beta features](/docs/sigma-product-releases#beta-features) disclaimer.","title":"Scope"}}}],"description":"","title":"Refresh token"},{"allOf":[{"type":"object","required":["grant_type","subject_token","subject_token_type","actor_token","actor_token_type"],"properties":{"grant_type":{"type":"string","enum":["urn:ietf:params:oauth:grant-type:token-exchange"],"description":"Set to `urn:ietf:params:oauth:grant-type:token-exchange` to get an impersonated token."},"subject_token":{"type":"string","description":"A self-signed JWT token with the following claims: `kid` (the client ID), and either `sub` (the email of the user to impersonate), `tenant` (the organization ID of the tenant to impersonate), or both. When `tenant` is provided without `sub`, the tenant admin user will be impersonated. When both are provided, the specified user will be impersonated within the context of that tenant organization.","title":"Subject token"},"subject_token_type":{"type":"string","enum":["urn:ietf:params:oauth:token-type:jwt"]},"actor_token":{"type":"string","description":"An access token owned by a Sigma user assigned the Admin account type. This token must match the bearer token in the request authorization header.","title":"Actor token"},"actor_token_type":{"type":"string","enum":["urn:ietf:params:oauth:token-type:access_token"]}}},{"type":"object","properties":{"scope":{"type":"string","description":"The scopes to request for the token. Request `api:access` to access the Sigma REST API, `mcp:access` to access the Sigma MCP server, or send both scopes, space-delimited, to use one token for both. Defaults to `api:access` when omitted. On refresh, emits the originally granted scopes.\n\n**Beta**: This documentation describes a public beta feature and is subject to the [Beta features](/docs/sigma-product-releases#beta-features) disclaimer.","title":"Scope"}}}],"description":"Generate an access token as a specific user using a JSON Web Token (JWT).","title":"Impersonation"}]}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"oneOf":[{"allOf":[{"type":"object","required":["access_token","refresh_token","token_type","expires_in"],"properties":{"access_token":{"type":"string","description":"Token used to access the API and make requests."},"refresh_token":{"type":"string","description":"Refresh token used to refresh access token."},"token_type":{"type":"string","enum":["bearer"]},"expires_in":{"type":"number","description":"Number of seconds in which the token expires."}}},{"type":"object","properties":{"scope":{"type":"string","description":"Space-delimited scopes granted to this token.\n\n**Beta**: This documentation describes a public beta feature and is subject to the [Beta features](/docs/sigma-product-releases#beta-features) disclaimer.","title":"Scope"}}}],"description":"","title":"Access / Refresh token"},{"allOf":[{"type":"object","required":["access_token","issued_token_type","token_type","expires_in"],"properties":{"access_token":{"type":"string","description":"Access token used to access the API and make requests as the impersonated user."},"issued_token_type":{"type":"string","enum":["urn:ietf:params:oauth:token-type:access_token"]},"token_type":{"type":"string","enum":["Bearer"]},"expires_in":{"type":"number","description":"Number of seconds in which the token expires."}}},{"type":"object","properties":{"scope":{"type":"string","description":"Space-delimited scopes granted to this token.\n\n**Beta**: This documentation describes a public beta feature and is subject to the [Beta features](/docs/sigma-product-releases#beta-features) disclaimer.","title":"Scope"}}}],"description":"","title":"Impersonation"}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["auth"],"security":[{"basicAuth":[]},{"bearerAuth":[]}]}},"/v2/connection/{connectionId}/lookup":{"post":{"summary":"Look up connections by path","description":"This endpoint returns details about the fully qualified path to an object in a specific connection by connection ID.\n\n  ### Usage notes\n  - Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.\n\n  Different connections support different paths:\n\n  - For a Snowflake connection, you can specify `DATABASE.SCHEMA.TABLE`, `DATABASE.SCHEMA.STORED_PROCEDURE`, or a less-specific path.\n  - For Amazon Redshift, you can specify `SCHEMA.TABLE`, `SCHEMA.STORED_PROCEDURE`, or a less-specific path.\n  - For Databricks, you can specify `CATALOG.SCHEMA.TABLE` or a less-specific path.\n\n  Connection path details include the connection path ID, called the `inodeId` in the response, and the type of object in the connection path, either a table or a scope (database, schema, catalog, or other higher-level object).","parameters":[{"name":"connectionId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"lookupConnection","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"type":"object","required":["path"],"properties":{"path":{"oneOf":[{"type":"array","minItems":3,"maxItems":3,"items":{"type":"string","description":"Database name","title":"Database"},"description":"Represents a path of the form `DATABASE.SCHEMA.TABLE` or `DATABASE.SCHEMA.STORED_PROCEDURE`.","title":"Table or Object Path"},{"type":"array","minItems":2,"maxItems":2,"items":{"type":"string","description":"Database Name","title":"Database"},"description":"Represents a path of the form `DATABASE.SCHEMA`.","title":"Schema Path"},{"type":"array","minItems":1,"maxItems":1,"items":{"type":"string","description":"Database Name","title":"Database"},"description":"Represents a path of the form `DATABASE`.","title":"Database Path"},{"type":"array","items":{},"maxItems":0,"description":"Empty path to sync the entire connection.","title":"Empty Path"}]}}}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","required":["kind","inodeId","url"],"properties":{"kind":{"type":"string","enum":["scope","table","semanticView","metricView","stored-procedure"]},"inodeId":{"type":"string"},"url":{"type":"string"}}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections":{"get":{"summary":"List connections","description":"Get a list of available connections and the connection IDs.","parameters":[{"name":"page","schema":{"type":"string","description":"Use to specify further pages using the string returned in the nextPage portion of the response.","title":"Page"},"in":"query"},{"name":"limit","schema":{"type":"number","description":"Number of results to return per page, with a maximum of 1,000 per request. Use the `page` option in subsequent requests to retrieve the next set of results.","title":"Limit"},"in":"query"},{"name":"includeArchived","schema":{"type":"boolean"},"in":"query"},{"name":"search","schema":{"type":"string","description":"Search filter for the name of the connection."},"in":"query"}],"operationId":"listConnections","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries","nextPage"],"properties":{"entries":{"type":"array","items":{"allOf":[{"type":"object","required":["organizationId","connectionId","isSample","isAuditLog","lastActiveAt","name","type","useOauth","createdBy","updatedBy","createdAt","updatedAt"],"properties":{"organizationId":{"type":"string","description":"Unique identifier of the organization"},"connectionId":{"type":"string","description":"Unique identifier of the connection"},"isSample":{"type":"boolean","description":"Whether the connection is the Sigma sample data connection"},"isAuditLog":{"type":"boolean","description":"Whether audit logging is enabled"},"lastActiveAt":{"type":"string","format":"date-time","description":"Last activity date and time"},"name":{"type":"string","description":"Name of the connection"},"type":{"type":"string","description":"Type of the connection (e.g., \"bigQuery\")"},"useOauth":{"type":"boolean","description":"Whether OAuth is used"},"createdBy":{"type":"string","description":"Identifier of the user who created this connection"},"updatedBy":{"type":"string","description":"Identifier of the user or process that last updated this connection"},"createdAt":{"type":"string","format":"date-time","description":"When the connection was created"},"updatedAt":{"type":"string","format":"date-time","description":"When the connection was last updated"}}},{"type":"object","properties":{"isArchived":{"type":"boolean","description":"Whether the connection is archived"},"account":{"type":"string","description":"Account associated with the connection"},"warehouse":{"type":"string","description":"Warehouse associated with the connection"},"user":{"type":"string","description":"User associated with the connection"},"httpPath":{"type":"string","description":"For Databricks connections, HTTP path of the SQL warehouse. Not included when a user attribute sets the HTTP path."},"role":{"type":"string","description":"Role used by the connection user"},"timeout":{"allOf":[{"type":"object","required":["default"],"properties":{"default":{"type":"number"}}},{"type":"object","properties":{"worksheet":{"type":"number"},"dashboard":{"type":"number"},"download":{"type":"number"}}}],"description":"Timeout settings for the connection, with a default value in seconds"},"poolSizes":{"type":"object","properties":{"isPoolConfigured":{"type":"boolean"},"catalogPoolSize":{"type":"number"},"resultPoolSize":{"type":"number"},"schedulePoolSize":{"type":"number"}},"description":"Pool sizes for the connection, such as for catalogPoolSize or schedulePoolSize"},"writeAccess":{"type":"boolean"},"friendlyName":{"type":"boolean","description":"Whether friendly names are enabled for this connection"},"writebacks":{"type":"array","items":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}},{"type":"object","properties":{"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for non-OAuth connections"},"writebackSchemas":{"type":"array","items":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}},{"type":"object","properties":{"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for OAuth connections"},"inputTableAuditLogSchema":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}}],"description":"Schema to use for the input table write-ahead log (WAL). Cannot be changed without breaking write behavior on this connection."},"materializationWarehouse":{"type":"string","description":"Warehouse used to run materialization jobs"},"exportsWarehouse":{"type":"string","description":"Warehouse used to run export jobs"},"oauthMetadataUrl":{"type":"string","description":"OAuth metadata URL configured directly on this connection."},"oauthClientId":{"type":"string","description":"Client ID configured directly on this connection."},"oauthScopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes configured directly on this connection."},"oauthIdpType":{"oneOf":[{"type":"string","enum":["aws_databricks"]},{"type":"string","enum":["azure_databricks"]},{"type":"string","enum":["gcp_databricks"]},{"type":"string","enum":["azuread"]},{"type":"string","enum":["auth0"]},{"type":"string","enum":["adfs"]},{"type":"string","enum":["okta"]},{"type":"string","enum":["ping"]},{"type":"string","enum":["snowflake"]},{"type":"string","enum":["unknown"]}],"description":"OAuth provider type configured or inferred for this connection."},"oauthUsePkce":{"type":["boolean","null"],"description":"Whether this connection-level OAuth configuration uses PKCE."},"oauthUseJwt":{"type":["boolean","null"],"description":"Whether this connection-level OAuth configuration uses JWT bearer token authentication."},"oauthJwkSetId":{"type":"string","description":"Unique identifier of the JWK set used to sign JWT bearer assertions for this connection."},"oauthAudience":{"type":"string","description":"Audience used for OAuth federation, such as the Google workforce identity federation audience for BigQuery."},"isIndependentOAuth":{"type":"boolean","description":"Whether this connection uses connection-level OAuth instead of organization-level OAuth."},"userAttributes":{"type":"object","properties":{"role":{"type":"string"},"warehouse":{"type":"string"}},"description":"User attributes associated with the connection"},"roleSwitching":{"type":"string","enum":["allRoles","disabled"],"description":"Whether a Snowflake OAuth connection allows users to switch roles when running queries. Only relevant for Snowflake OAuth connections."},"enableHiveMetastore":{"type":"boolean","description":"Whether this Databricks connection exposes the `hive_metastore` catalog in Sigma. Only relevant for Databricks connections.","title":"Enable Hive metastore"},"usePython":{"type":"boolean","title":"Enable Python queries"},"pythonComputeClusterId":{"type":"string","description":"ID of the all-purpose compute cluster used to run Python queries. Only relevant for Databricks connections with Python enabled.","title":"Compute cluster ID"}}}]},"description":"Array of results returned by the endpoint"},"nextPage":{"type":["string","null"],"description":"Returns a string that can be used as the `page` parameter in the next request to fetch the next page of results. The last page of results returns `null`."}}},{"type":"object","properties":{"total":{"type":"number","description":"Total number of results. Useful to determine if there is a need to paginate."},"hasMore":{"type":"boolean","description":"**[Deprecated]** Indicates whether more results are available."}}}]},"examples":{"Organization":{"value":{"entries":[{"organizationId":"2f6b8e4a-9c1d-4b7a-8e2c-6d3f9a1b5c7e","connectionId":"9f2a6b1e-4c3d-4a8f-9e21-6d7c8b3a51f0","name":"Snowflake Example","type":"snowflake","isSample":false,"isAuditLog":false,"useOauth":false,"isArchived":false,"friendlyName":true,"isIndependentOAuth":false,"lastActiveAt":"2026-08-20T16:42:00.000Z","createdBy":"qJ8VpXeRp3ZvNtLm6WkYbGjFcAoS9h","updatedBy":"qJ8VpXeRp3ZvNtLm6WkYbGjFcAoS9h","createdAt":"2024-02-11T18:05:00.000Z","updatedAt":"2026-08-20T16:42:00.000Z"}],"hasMore":false,"total":1,"nextPage":null}},"Impersonating Acme West tenant":{"value":{"entries":[{"organizationId":"5e9c2b7a-3f1d-4a8e-9b6c-2d4f8a1e6c3b","connectionId":"3d4e8f21-7b6c-4a9d-8e12-5f6a7b8c9d0e","name":"Snowflake - Tenant Example","type":"snowflake","isSample":false,"isAuditLog":false,"useOauth":false,"isArchived":false,"friendlyName":true,"isIndependentOAuth":false,"lastActiveAt":"2026-08-19T09:12:00.000Z","createdBy":"qJ8VpXeRp3ZvNtLm6WkYbGjFcAoS9h","updatedBy":"qJ8VpXeRp3ZvNtLm6WkYbGjFcAoS9h","createdAt":"2025-06-03T14:20:00.000Z","updatedAt":"2026-08-19T09:12:00.000Z"}],"hasMore":false,"total":1,"nextPage":null}}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]},"post":{"summary":"Create a connection","description":"Create a connection to a cloud data warehouse from Sigma. For additional details, see [Connect to data sources](https://help.sigmacomputing.com/docs/connect-to-data-sources).\n\n  ### Usage notes\n  - To sign JWT bearer assertions with a JWK set, pass its **jwkSetId**. Retrieve it by calling the [/v2/jsonWebKeys](https://help.sigmacomputing.com/reference/list-all-json-web-keys) endpoint.\n      ","parameters":[],"operationId":"createConnection","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["details","name"],"properties":{"details":{"oneOf":[{"allOf":[{"type":"object","required":["type","host","database"],"properties":{"type":{"type":"string","enum":["postgres","redshift","alloydb"]},"host":{"type":"string"},"database":{"type":"string"}}},{"type":"object","properties":{"user":{"type":"string"},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]},"port":{"type":"number"},"useTls":{"type":"boolean"},"writeAccess":{"type":"object","required":["writeSchema"],"properties":{"writeSchema":{"type":"string"}}}}}],"description":"Details of the PostgreSQL connection.","title":"PostgreSQL"},{"allOf":[{"type":"object","required":["type","projectId"],"properties":{"type":{"type":"string","enum":["bigQuery"]},"projectId":{"type":"string"}}},{"type":"object","properties":{"additionalProjectIds":{"type":"array","items":{"type":"string"}},"serviceAccount":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]}}},{"type":"object","properties":{"metadataUrl":{"type":"string","description":"OAuth metadata URL for connection-level OAuth."},"clientId":{"type":"string","description":"Client ID for the OAuth application used by this connection."},"clientSecret":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"Client secret for the OAuth application used by this connection. This value is write-only and is not returned by the API."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes to request when users authenticate to this connection."},"idpType":{"oneOf":[{"type":"string","enum":["aws_databricks"]},{"type":"string","enum":["azure_databricks"]},{"type":"string","enum":["gcp_databricks"]},{"type":"string","enum":["azuread"]},{"type":"string","enum":["auth0"]},{"type":"string","enum":["adfs"]},{"type":"string","enum":["okta"]},{"type":"string","enum":["ping"]},{"type":"string","enum":["snowflake"]},{"type":"string","enum":["unknown"]}],"type":"null","description":"OAuth provider type. Supported values are adfs, auth0, azuread, okta, ping, snowflake, aws_databricks, azure_databricks, gcp_databricks, and unknown."},"usePkce":{"type":["boolean","null"],"description":"Whether the OAuth flow should require Proof Key for Code Exchange (PKCE). Databricks-hosted OAuth providers require PKCE."},"useJwt":{"type":["boolean","null"],"description":"Whether the OAuth flow should use JWT bearer token authentication instead of a client secret."},"jwkSetId":{"type":"string","description":"Unique identifier of the JWK set whose active key signs the JWT bearer assertions for this connection. Requires `useJwt` to be true."}}},{"type":"object","properties":{"useOauth":{"type":"boolean","description":"Whether this BigQuery connection uses OAuth federation."},"audience":{"type":"string","description":"Google workforce identity federation audience used to exchange the OAuth token for a Google access token."},"writeAccess":{"type":"object","required":["writeProject","writeDataset"],"properties":{"writeProject":{"type":"string"},"writeDataset":{"type":"string"}}}}}],"description":"Details of the BigQuery connection.","title":"Google BigQuery"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["snowflake"]}}},{"type":"object","properties":{"server":{"type":"string"},"account":{"type":"string"},"host":{"type":"string"},"warehouse":{"type":"string"},"role":{"type":"string"},"authType":{"type":"string","enum":["basic-auth","key-pair","oauth"]}}},{"oneOf":[{"type":"object","required":["user","password"],"properties":{"user":{"type":"string"},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]}},"description":"Set up basic authentication for the connection","title":"Basic Authentication"},{"allOf":[{"type":"object","required":["user","privateKey"],"properties":{"user":{"type":"string"},"privateKey":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]}}},{"type":"object","properties":{"privateKeyPassphrase":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]}}}],"description":"Set up key-pair authentication for the connection","title":"Key-Pair Authentication"},{"type":"object","required":["useOauth"],"properties":{"useOauth":{"type":"boolean","enum":[true]}},"description":"Set up OAuth for the connection","title":"OAuth"}]},{"type":"object","properties":{"usePython":{"type":"boolean"},"pythonSecrets":{"type":"object","properties":{"setupUser":{"allOf":[{"type":"object","required":["username","password"],"properties":{"username":{"type":"string"},"password":{"type":"string"}}},{"type":"object","properties":{"role":{"type":"string"}}}]},"pythonUser":{"allOf":[{"type":"object","required":["username","password"],"properties":{"username":{"type":"string"},"password":{"type":"string"}}},{"type":"object","properties":{"role":{"type":"string"}}}]}}},"pythonProperties":{"type":"object","properties":{"serviceNames":{"type":"array","items":{"type":"string"}},"externalAccessIntegration":{"type":"string"}}}}},{"type":"object","properties":{"useSourceSwapPolicy":{"type":"boolean"},"sourceSwapPolicyId":{"type":"string"}}},{"type":"object","properties":{"metadataUrl":{"type":"string","description":"OAuth metadata URL for connection-level OAuth."},"clientId":{"type":"string","description":"Client ID for the OAuth application used by this connection."},"clientSecret":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"Client secret for the OAuth application used by this connection. This value is write-only and is not returned by the API."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes to request when users authenticate to this connection."},"idpType":{"oneOf":[{"type":"string","enum":["aws_databricks"]},{"type":"string","enum":["azure_databricks"]},{"type":"string","enum":["gcp_databricks"]},{"type":"string","enum":["azuread"]},{"type":"string","enum":["auth0"]},{"type":"string","enum":["adfs"]},{"type":"string","enum":["okta"]},{"type":"string","enum":["ping"]},{"type":"string","enum":["snowflake"]},{"type":"string","enum":["unknown"]}],"type":"null","description":"OAuth provider type. Supported values are adfs, auth0, azuread, okta, ping, snowflake, aws_databricks, azure_databricks, gcp_databricks, and unknown."},"usePkce":{"type":["boolean","null"],"description":"Whether the OAuth flow should require Proof Key for Code Exchange (PKCE). Databricks-hosted OAuth providers require PKCE."},"useJwt":{"type":["boolean","null"],"description":"Whether the OAuth flow should use JWT bearer token authentication instead of a client secret."},"jwkSetId":{"type":"string","description":"Unique identifier of the JWK set whose active key signs the JWT bearer assertions for this connection. Requires `useJwt` to be true."}}},{"type":"object","properties":{"exportsWarehouse":{"type":"string","description":"Warehouse to use for export workloads."},"writeAccess":{"oneOf":[{"allOf":[{"type":"object","required":["writeDatabase","writeSchema"],"properties":{"writeDatabase":{"type":"string","description":"Database or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"materializationWarehouse":{"type":"string","description":"Warehouse to use for materialization workloads"},"useDynamicTables":{"type":"boolean","description":"Whether to use Snowflake dynamic tables for materialization workloads."}}}],"description":"","title":"Set write location and materialization warehouse"},{"type":"object","properties":{"materializationWarehouse":{"type":"string","description":"Warehouse to use for materialization workloads"},"useDynamicTables":{"type":"boolean","description":"Whether to use Snowflake dynamic tables for materialization workloads."}},"description":"","title":"Set materialization warehouse"}],"description":"Specify write access for non-OAuth connections"},"userAttributes":{"type":"object","properties":{"role":{"type":"string"},"warehouse":{"type":"string"}}},"writebackSchemas":{"type":"array","items":{"allOf":[{"type":"object","required":["writeDatabase","writeSchema"],"properties":{"writeDatabase":{"type":"string","description":"Database or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the write-back destination"},"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for OAuth connections"},"inputTableAuditLogSchema":{"allOf":[{"type":"object","required":["writeDatabase","writeSchema"],"properties":{"writeDatabase":{"type":"string","description":"Database or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}}],"description":"Specify a schema for input table write access logs"},"pythonProperties":{"type":"object","properties":{"externalAccessIntegration":{"type":"string","description":"Name of the Snowflake external access integration to enable for Python."},"warehouse":{"type":"string","description":"Warehouse to use to run Python code."},"packages":{"type":"string","description":"Comma-separated list of Python packages to install."}},"description":"Python configuration for this Snowflake connection."},"roleSwitching":{"type":"string","enum":["allRoles","disabled"],"description":"Whether a Snowflake OAuth connection allows users to switch roles when running queries. Only relevant when `useOauth` is true."}}}],"description":"Details of the Snowflake connection.","title":"Snowflake"},{"allOf":[{"type":"object","required":["type","host"],"properties":{"type":{"type":"string","enum":["databricks"]},"host":{"type":"string"}}},{"oneOf":[{"type":"object","required":["endpoint"],"properties":{"endpoint":{"type":"string"}}},{"type":"object","required":["userAttributes"],"properties":{"userAttributes":{"type":"object","required":["endpoint"],"properties":{"endpoint":{"type":"string"}}}}}]},{"oneOf":[{"type":"object","required":["token"],"properties":{"token":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]}},"description":"Set up basic authentication for the connection","title":"Basic Authentication"},{"type":"object","required":["useOauth"],"properties":{"useOauth":{"type":"boolean","enum":[true]}},"description":"Set up OAuth for the connection","title":"OAuth"}]},{"type":"object","properties":{"workspaceUrl":{"type":"string"},"useSourceSwapPolicy":{"type":"boolean"},"sourceSwapPolicyId":{"type":"string"},"usePython":{"type":"boolean","description":"Set to `true` to enable Python queries on this Databricks connection. Requires `pythonComputeClusterId`.","title":"Use Python"}}},{"type":"object","properties":{"metadataUrl":{"type":"string","description":"OAuth metadata URL for connection-level OAuth."},"clientId":{"type":"string","description":"Client ID for the OAuth application used by this connection."},"clientSecret":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"Client secret for the OAuth application used by this connection. This value is write-only and is not returned by the API."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes to request when users authenticate to this connection."},"idpType":{"oneOf":[{"type":"string","enum":["aws_databricks"]},{"type":"string","enum":["azure_databricks"]},{"type":"string","enum":["gcp_databricks"]},{"type":"string","enum":["azuread"]},{"type":"string","enum":["auth0"]},{"type":"string","enum":["adfs"]},{"type":"string","enum":["okta"]},{"type":"string","enum":["ping"]},{"type":"string","enum":["snowflake"]},{"type":"string","enum":["unknown"]}],"type":"null","description":"OAuth provider type. Supported values are adfs, auth0, azuread, okta, ping, snowflake, aws_databricks, azure_databricks, gcp_databricks, and unknown."},"usePkce":{"type":["boolean","null"],"description":"Whether the OAuth flow should require Proof Key for Code Exchange (PKCE). Databricks-hosted OAuth providers require PKCE."},"useJwt":{"type":["boolean","null"],"description":"Whether the OAuth flow should use JWT bearer token authentication instead of a client secret."},"jwkSetId":{"type":"string","description":"Unique identifier of the JWK set whose active key signs the JWT bearer assertions for this connection. Requires `useJwt` to be true."}}},{"type":"object","properties":{"writeAccess":{"type":"object","required":["writeCatalog","writeSchema"],"properties":{"writeCatalog":{"type":"string","description":"Catalog or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}},"description":"Configure write-back for non-OAuth connections"},"writebackSchemas":{"type":"array","items":{"allOf":[{"type":"object","required":["writeCatalog","writeSchema"],"properties":{"writeCatalog":{"type":"string","description":"Catalog or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the write-back destination"},"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for OAuth connections"},"inputTableAuditLogSchema":{"allOf":[{"type":"object","required":["writeCatalog","writeSchema"],"properties":{"writeCatalog":{"type":"string","description":"Catalog or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}}],"description":"Schema to use for the input table write-ahead log (WAL). Cannot be changed without breaking write behavior on this connection."},"enableHiveMetastore":{"type":"boolean","description":"Set to `true` to see and use your `hive_metastore` catalog in Sigma. Defaults to `false`. If you omit this field in an update request, Sigma resets it to `false`.","title":"Enable Hive metastore"},"pythonComputeClusterId":{"type":"string","description":"ID of the all-purpose compute cluster used to run Python queries. Must be set together with `usePython`. If you omit this field in an update request, Sigma clears the Python configuration.","title":"Compute cluster ID"}}}],"description":"Details of the Databricks connection.","title":"Databricks"},{"allOf":[{"type":"object","required":["type","user","password","host","port"],"properties":{"type":{"type":"string","enum":["mysql"]},"user":{"type":"string"},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]},"host":{"type":"string"},"port":{"type":"number"}}},{"type":"object","properties":{"writeAccess":{"type":"object","required":["writeSchema"],"properties":{"writeSchema":{"type":"string"}}}}}],"description":"Details of the MySQL connection.","title":"MySQL"},{"allOf":[{"type":"object","required":["type","server","database"],"properties":{"type":{"type":"string","enum":["azuresql"],"description":"Azure SQL DB connection type."},"server":{"type":"string","description":"Fully qualified Azure SQL DB server name."},"database":{"type":"string","description":"Database to connect to on the Azure SQL DB server."}}},{"type":"object","required":["server","port","user","password"],"properties":{"server":{"type":"string","description":"Fully qualified server name or host."},"port":{"type":"number","description":"Port for the database server."},"user":{"type":"string","description":"Username used to authenticate to the database."},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"Password used to authenticate to the database. This value is write-only and is not returned by the API."}}},{"type":"object","properties":{"useReadUncommittedIsolation":{"type":"boolean","description":"Whether queries run with READ UNCOMMITTED transaction isolation."},"writeAccess":{"type":"object","required":["writeDatabase","writeSchema"],"properties":{"writeDatabase":{"type":"string","description":"Database to contain tables written back to the data platform."},"writeSchema":{"type":"string","description":"Schema to contain tables written back to the data platform."}},"description":"Configure write-back for the connection."}}}],"description":"Details of the Azure SQL DB connection.","title":"Azure SQL DB"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["sqlserver"],"description":"SQL Server connection type."}}},{"type":"object","required":["server","port","user","password"],"properties":{"server":{"type":"string","description":"Fully qualified server name or host."},"port":{"type":"number","description":"Port for the database server."},"user":{"type":"string","description":"Username used to authenticate to the database."},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"Password used to authenticate to the database. This value is write-only and is not returned by the API."}}},{"type":"object","properties":{"useReadUncommittedIsolation":{"type":"boolean","description":"Whether queries run with READ UNCOMMITTED transaction isolation."},"writeAccess":{"type":"object","required":["writeDatabase","writeSchema"],"properties":{"writeDatabase":{"type":"string","description":"Database to contain tables written back to the data platform."},"writeSchema":{"type":"string","description":"Schema to contain tables written back to the data platform."}},"description":"Configure write-back for the connection."}}}],"description":"Details of the SQL Server connection.","title":"SQL Server"},{"allOf":[{"type":"object","required":["type","host","port","user","password"],"properties":{"type":{"type":"string","enum":["starburst"],"description":"Starburst connection type."},"host":{"type":"string","description":"The address of your Starburst Galaxy cluster as a URL or an IP address."},"port":{"type":"number","description":"The port through which Sigma connects to your Starburst Galaxy cluster."},"user":{"type":"string","description":"The username of the service account set up by your Starburst administrator."},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"The password for the service account set up by your Starburst administrator. This value is write-only and is not returned by the API."}}},{"type":"object","properties":{"writeAccess":{"type":"object","required":["writeCatalog","writeSchema"],"properties":{"writeCatalog":{"type":"string","description":"Catalog to contain tables written back to the data platform."},"writeSchema":{"type":"string","description":"Schema to contain tables written back to the data platform."}},"description":"Configure write-back for the connection."}}}],"description":"Details of the Starburst connection.","title":"Starburst"}]},"name":{"type":"string"}}},{"type":"object","properties":{"description":{"type":"object","additionalProperties":{}},"poolSizes":{"type":"object","properties":{"isPoolConfigured":{"type":"boolean","description":"Whether custom connection pool sizes are configured. If any pool size is supplied without this field, the API stores it as true."},"schedulePoolSize":{"type":"number","description":"Pool size for scheduled workloads."},"catalogPoolSize":{"type":"number","description":"Pool size for catalog workloads."},"resultPoolSize":{"type":"number","description":"Pool size for result cache workloads."}},"description":"Connection pool sizes. Each pool bounds how many queries of a given type (ad hoc, scheduled, catalog, result cache) run concurrently against the warehouse."},"timeoutSecs":{"type":"number"},"useFriendlyNames":{"type":"boolean"}}}]}}}},"responses":{"201":{"description":"The newly created connection.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["organizationId","connectionId","isSample","isAuditLog","lastActiveAt","name","type","useOauth","createdBy","updatedBy","createdAt","updatedAt"],"properties":{"organizationId":{"type":"string","description":"Unique identifier of the organization"},"connectionId":{"type":"string","description":"Unique identifier of the connection"},"isSample":{"type":"boolean","description":"Whether the connection is the Sigma sample data connection"},"isAuditLog":{"type":"boolean","description":"Whether audit logging is enabled"},"lastActiveAt":{"type":"string","format":"date-time","description":"Last activity date and time"},"name":{"type":"string","description":"Name of the connection"},"type":{"type":"string","description":"Type of the connection (e.g., \"bigQuery\")"},"useOauth":{"type":"boolean","description":"Whether OAuth is used"},"createdBy":{"type":"string","description":"Identifier of the user who created this connection"},"updatedBy":{"type":"string","description":"Identifier of the user or process that last updated this connection"},"createdAt":{"type":"string","format":"date-time","description":"When the connection was created"},"updatedAt":{"type":"string","format":"date-time","description":"When the connection was last updated"}}},{"type":"object","properties":{"isArchived":{"type":"boolean","description":"Whether the connection is archived"},"account":{"type":"string","description":"Account associated with the connection"},"warehouse":{"type":"string","description":"Warehouse associated with the connection"},"user":{"type":"string","description":"User associated with the connection"},"httpPath":{"type":"string","description":"For Databricks connections, HTTP path of the SQL warehouse. Not included when a user attribute sets the HTTP path."},"role":{"type":"string","description":"Role used by the connection user"},"timeout":{"allOf":[{"type":"object","required":["default"],"properties":{"default":{"type":"number"}}},{"type":"object","properties":{"worksheet":{"type":"number"},"dashboard":{"type":"number"},"download":{"type":"number"}}}],"description":"Timeout settings for the connection, with a default value in seconds"},"poolSizes":{"type":"object","properties":{"isPoolConfigured":{"type":"boolean"},"catalogPoolSize":{"type":"number"},"resultPoolSize":{"type":"number"},"schedulePoolSize":{"type":"number"}},"description":"Pool sizes for the connection, such as for catalogPoolSize or schedulePoolSize"},"writeAccess":{"type":"boolean"},"friendlyName":{"type":"boolean","description":"Whether friendly names are enabled for this connection"},"writebacks":{"type":"array","items":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}},{"type":"object","properties":{"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for non-OAuth connections"},"writebackSchemas":{"type":"array","items":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}},{"type":"object","properties":{"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for OAuth connections"},"inputTableAuditLogSchema":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}}],"description":"Schema to use for the input table write-ahead log (WAL). Cannot be changed without breaking write behavior on this connection."},"materializationWarehouse":{"type":"string","description":"Warehouse used to run materialization jobs"},"exportsWarehouse":{"type":"string","description":"Warehouse used to run export jobs"},"oauthMetadataUrl":{"type":"string","description":"OAuth metadata URL configured directly on this connection."},"oauthClientId":{"type":"string","description":"Client ID configured directly on this connection."},"oauthScopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes configured directly on this connection."},"oauthIdpType":{"oneOf":[{"type":"string","enum":["aws_databricks"]},{"type":"string","enum":["azure_databricks"]},{"type":"string","enum":["gcp_databricks"]},{"type":"string","enum":["azuread"]},{"type":"string","enum":["auth0"]},{"type":"string","enum":["adfs"]},{"type":"string","enum":["okta"]},{"type":"string","enum":["ping"]},{"type":"string","enum":["snowflake"]},{"type":"string","enum":["unknown"]}],"description":"OAuth provider type configured or inferred for this connection."},"oauthUsePkce":{"type":["boolean","null"],"description":"Whether this connection-level OAuth configuration uses PKCE."},"oauthUseJwt":{"type":["boolean","null"],"description":"Whether this connection-level OAuth configuration uses JWT bearer token authentication."},"oauthJwkSetId":{"type":"string","description":"Unique identifier of the JWK set used to sign JWT bearer assertions for this connection."},"oauthAudience":{"type":"string","description":"Audience used for OAuth federation, such as the Google workforce identity federation audience for BigQuery."},"isIndependentOAuth":{"type":"boolean","description":"Whether this connection uses connection-level OAuth instead of organization-level OAuth."},"userAttributes":{"type":"object","properties":{"role":{"type":"string"},"warehouse":{"type":"string"}},"description":"User attributes associated with the connection"},"roleSwitching":{"type":"string","enum":["allRoles","disabled"],"description":"Whether a Snowflake OAuth connection allows users to switch roles when running queries. Only relevant for Snowflake OAuth connections."},"enableHiveMetastore":{"type":"boolean","description":"Whether this Databricks connection exposes the `hive_metastore` catalog in Sigma. Only relevant for Databricks connections.","title":"Enable Hive metastore"},"usePython":{"type":"boolean","title":"Enable Python queries"},"pythonComputeClusterId":{"type":"string","description":"ID of the all-purpose compute cluster used to run Python queries. Only relevant for Databricks connections with Python enabled.","title":"Compute cluster ID"}}}],"description":"The newly created connection."}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections/{connectionId}":{"patch":{"summary":"Update a connection","description":"Update the metadata of a specific connection. This endpoint is deprecated. Instead, use the [PUT endpoint](https://help.sigmacomputing.com/reference/updateconnection).","parameters":[{"name":"connectionId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"updateConnectionDeprecated","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"useOauth":{"type":"boolean"}}}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["organizationId","connectionId","isSample","isAuditLog","lastActiveAt","name","type","useOauth","createdBy","updatedBy","createdAt","updatedAt"],"properties":{"organizationId":{"type":"string","description":"Unique identifier of the organization"},"connectionId":{"type":"string","description":"Unique identifier of the connection"},"isSample":{"type":"boolean","description":"Whether the connection is the Sigma sample data connection"},"isAuditLog":{"type":"boolean","description":"Whether audit logging is enabled"},"lastActiveAt":{"type":"string","format":"date-time","description":"Last activity date and time"},"name":{"type":"string","description":"Name of the connection"},"type":{"type":"string","description":"Type of the connection (e.g., \"bigQuery\")"},"useOauth":{"type":"boolean","description":"Whether OAuth is used"},"createdBy":{"type":"string","description":"Identifier of the user who created this connection"},"updatedBy":{"type":"string","description":"Identifier of the user or process that last updated this connection"},"createdAt":{"type":"string","format":"date-time","description":"When the connection was created"},"updatedAt":{"type":"string","format":"date-time","description":"When the connection was last updated"}}},{"type":"object","properties":{"isArchived":{"type":"boolean","description":"Whether the connection is archived"},"account":{"type":"string","description":"Account associated with the connection"},"warehouse":{"type":"string","description":"Warehouse associated with the connection"},"user":{"type":"string","description":"User associated with the connection"},"httpPath":{"type":"string","description":"For Databricks connections, HTTP path of the SQL warehouse. Not included when a user attribute sets the HTTP path."},"role":{"type":"string","description":"Role used by the connection user"},"timeout":{"allOf":[{"type":"object","required":["default"],"properties":{"default":{"type":"number"}}},{"type":"object","properties":{"worksheet":{"type":"number"},"dashboard":{"type":"number"},"download":{"type":"number"}}}],"description":"Timeout settings for the connection, with a default value in seconds"},"poolSizes":{"type":"object","properties":{"isPoolConfigured":{"type":"boolean"},"catalogPoolSize":{"type":"number"},"resultPoolSize":{"type":"number"},"schedulePoolSize":{"type":"number"}},"description":"Pool sizes for the connection, such as for catalogPoolSize or schedulePoolSize"},"writeAccess":{"type":"boolean"},"friendlyName":{"type":"boolean","description":"Whether friendly names are enabled for this connection"},"writebacks":{"type":"array","items":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}},{"type":"object","properties":{"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for non-OAuth connections"},"writebackSchemas":{"type":"array","items":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}},{"type":"object","properties":{"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for OAuth connections"},"inputTableAuditLogSchema":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}}],"description":"Schema to use for the input table write-ahead log (WAL). Cannot be changed without breaking write behavior on this connection."},"materializationWarehouse":{"type":"string","description":"Warehouse used to run materialization jobs"},"exportsWarehouse":{"type":"string","description":"Warehouse used to run export jobs"},"oauthMetadataUrl":{"type":"string","description":"OAuth metadata URL configured directly on this connection."},"oauthClientId":{"type":"string","description":"Client ID configured directly on this connection."},"oauthScopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes configured directly on this connection."},"oauthIdpType":{"oneOf":[{"type":"string","enum":["aws_databricks"]},{"type":"string","enum":["azure_databricks"]},{"type":"string","enum":["gcp_databricks"]},{"type":"string","enum":["azuread"]},{"type":"string","enum":["auth0"]},{"type":"string","enum":["adfs"]},{"type":"string","enum":["okta"]},{"type":"string","enum":["ping"]},{"type":"string","enum":["snowflake"]},{"type":"string","enum":["unknown"]}],"description":"OAuth provider type configured or inferred for this connection."},"oauthUsePkce":{"type":["boolean","null"],"description":"Whether this connection-level OAuth configuration uses PKCE."},"oauthUseJwt":{"type":["boolean","null"],"description":"Whether this connection-level OAuth configuration uses JWT bearer token authentication."},"oauthJwkSetId":{"type":"string","description":"Unique identifier of the JWK set used to sign JWT bearer assertions for this connection."},"oauthAudience":{"type":"string","description":"Audience used for OAuth federation, such as the Google workforce identity federation audience for BigQuery."},"isIndependentOAuth":{"type":"boolean","description":"Whether this connection uses connection-level OAuth instead of organization-level OAuth."},"userAttributes":{"type":"object","properties":{"role":{"type":"string"},"warehouse":{"type":"string"}},"description":"User attributes associated with the connection"},"roleSwitching":{"type":"string","enum":["allRoles","disabled"],"description":"Whether a Snowflake OAuth connection allows users to switch roles when running queries. Only relevant for Snowflake OAuth connections."},"enableHiveMetastore":{"type":"boolean","description":"Whether this Databricks connection exposes the `hive_metastore` catalog in Sigma. Only relevant for Databricks connections.","title":"Enable Hive metastore"},"usePython":{"type":"boolean","title":"Enable Python queries"},"pythonComputeClusterId":{"type":"string","description":"ID of the all-purpose compute cluster used to run Python queries. Only relevant for Databricks connections with Python enabled.","title":"Compute cluster ID"}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"],"deprecated":true},"get":{"summary":"Get connection details","description":"Get the metadata of a specific connection by connection ID.\n\n### Usage notes\n- Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.\n  ","parameters":[{"name":"connectionId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"getConnection","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["organizationId","connectionId","isSample","isAuditLog","lastActiveAt","name","type","useOauth","createdBy","updatedBy","createdAt","updatedAt"],"properties":{"organizationId":{"type":"string","description":"Unique identifier of the organization"},"connectionId":{"type":"string","description":"Unique identifier of the connection"},"isSample":{"type":"boolean","description":"Whether the connection is the Sigma sample data connection"},"isAuditLog":{"type":"boolean","description":"Whether audit logging is enabled"},"lastActiveAt":{"type":"string","format":"date-time","description":"Last activity date and time"},"name":{"type":"string","description":"Name of the connection"},"type":{"type":"string","description":"Type of the connection (e.g., \"bigQuery\")"},"useOauth":{"type":"boolean","description":"Whether OAuth is used"},"createdBy":{"type":"string","description":"Identifier of the user who created this connection"},"updatedBy":{"type":"string","description":"Identifier of the user or process that last updated this connection"},"createdAt":{"type":"string","format":"date-time","description":"When the connection was created"},"updatedAt":{"type":"string","format":"date-time","description":"When the connection was last updated"}}},{"type":"object","properties":{"isArchived":{"type":"boolean","description":"Whether the connection is archived"},"account":{"type":"string","description":"Account associated with the connection"},"warehouse":{"type":"string","description":"Warehouse associated with the connection"},"user":{"type":"string","description":"User associated with the connection"},"httpPath":{"type":"string","description":"For Databricks connections, HTTP path of the SQL warehouse. Not included when a user attribute sets the HTTP path."},"role":{"type":"string","description":"Role used by the connection user"},"timeout":{"allOf":[{"type":"object","required":["default"],"properties":{"default":{"type":"number"}}},{"type":"object","properties":{"worksheet":{"type":"number"},"dashboard":{"type":"number"},"download":{"type":"number"}}}],"description":"Timeout settings for the connection, with a default value in seconds"},"poolSizes":{"type":"object","properties":{"isPoolConfigured":{"type":"boolean"},"catalogPoolSize":{"type":"number"},"resultPoolSize":{"type":"number"},"schedulePoolSize":{"type":"number"}},"description":"Pool sizes for the connection, such as for catalogPoolSize or schedulePoolSize"},"writeAccess":{"type":"boolean"},"friendlyName":{"type":"boolean","description":"Whether friendly names are enabled for this connection"},"writebacks":{"type":"array","items":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}},{"type":"object","properties":{"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for non-OAuth connections"},"writebackSchemas":{"type":"array","items":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}},{"type":"object","properties":{"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for OAuth connections"},"inputTableAuditLogSchema":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}}],"description":"Schema to use for the input table write-ahead log (WAL). Cannot be changed without breaking write behavior on this connection."},"materializationWarehouse":{"type":"string","description":"Warehouse used to run materialization jobs"},"exportsWarehouse":{"type":"string","description":"Warehouse used to run export jobs"},"oauthMetadataUrl":{"type":"string","description":"OAuth metadata URL configured directly on this connection."},"oauthClientId":{"type":"string","description":"Client ID configured directly on this connection."},"oauthScopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes configured directly on this connection."},"oauthIdpType":{"oneOf":[{"type":"string","enum":["aws_databricks"]},{"type":"string","enum":["azure_databricks"]},{"type":"string","enum":["gcp_databricks"]},{"type":"string","enum":["azuread"]},{"type":"string","enum":["auth0"]},{"type":"string","enum":["adfs"]},{"type":"string","enum":["okta"]},{"type":"string","enum":["ping"]},{"type":"string","enum":["snowflake"]},{"type":"string","enum":["unknown"]}],"description":"OAuth provider type configured or inferred for this connection."},"oauthUsePkce":{"type":["boolean","null"],"description":"Whether this connection-level OAuth configuration uses PKCE."},"oauthUseJwt":{"type":["boolean","null"],"description":"Whether this connection-level OAuth configuration uses JWT bearer token authentication."},"oauthJwkSetId":{"type":"string","description":"Unique identifier of the JWK set used to sign JWT bearer assertions for this connection."},"oauthAudience":{"type":"string","description":"Audience used for OAuth federation, such as the Google workforce identity federation audience for BigQuery."},"isIndependentOAuth":{"type":"boolean","description":"Whether this connection uses connection-level OAuth instead of organization-level OAuth."},"userAttributes":{"type":"object","properties":{"role":{"type":"string"},"warehouse":{"type":"string"}},"description":"User attributes associated with the connection"},"roleSwitching":{"type":"string","enum":["allRoles","disabled"],"description":"Whether a Snowflake OAuth connection allows users to switch roles when running queries. Only relevant for Snowflake OAuth connections."},"enableHiveMetastore":{"type":"boolean","description":"Whether this Databricks connection exposes the `hive_metastore` catalog in Sigma. Only relevant for Databricks connections.","title":"Enable Hive metastore"},"usePython":{"type":"boolean","title":"Enable Python queries"},"pythonComputeClusterId":{"type":"string","description":"ID of the all-purpose compute cluster used to run Python queries. Only relevant for Databricks connections with Python enabled.","title":"Compute cluster ID"}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]},"delete":{"summary":"Delete a connection","description":"Delete a specific connection by connection ID.\n\n  ### Usage notes\n  - Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.\n    ","parameters":[{"name":"connectionId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"deleteConnection","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]},"put":{"summary":"Update a connection","description":"Update a specific connection by connection ID. When updating the connection, send any connection details that you want to keep. Retrieve the current state of a connection by calling the [/v2/connections/{connectionId}](https://help.sigmacomputing.com/reference/get-connection) endpoint.\n\n  ### Usage notes\n  - To restore a deleted connection, pass the `restore` parameter.\n  - Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.\n  - To sign JWT bearer assertions with a JWK set, pass its **jwkSetId**. Retrieve it by calling the [/v2/jsonWebKeys](https://help.sigmacomputing.com/reference/list-all-json-web-keys) endpoint.\n\n      ","parameters":[{"name":"connectionId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"updateConnection","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["details","name"],"properties":{"details":{"oneOf":[{"allOf":[{"type":"object","required":["type","host","database"],"properties":{"type":{"type":"string","enum":["postgres","redshift","alloydb"]},"host":{"type":"string"},"database":{"type":"string"}}},{"type":"object","properties":{"user":{"type":"string"},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]},"port":{"type":"number"},"useTls":{"type":"boolean"},"writeAccess":{"type":"object","required":["writeSchema"],"properties":{"writeSchema":{"type":"string"}}}}}],"description":"Details of the PostgreSQL connection.","title":"PostgreSQL"},{"allOf":[{"type":"object","required":["type","projectId"],"properties":{"type":{"type":"string","enum":["bigQuery"]},"projectId":{"type":"string"}}},{"type":"object","properties":{"additionalProjectIds":{"type":"array","items":{"type":"string"}},"serviceAccount":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]}}},{"type":"object","properties":{"metadataUrl":{"type":"string","description":"OAuth metadata URL for connection-level OAuth."},"clientId":{"type":"string","description":"Client ID for the OAuth application used by this connection."},"clientSecret":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"Client secret for the OAuth application used by this connection. This value is write-only and is not returned by the API."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes to request when users authenticate to this connection."},"idpType":{"oneOf":[{"type":"string","enum":["aws_databricks"]},{"type":"string","enum":["azure_databricks"]},{"type":"string","enum":["gcp_databricks"]},{"type":"string","enum":["azuread"]},{"type":"string","enum":["auth0"]},{"type":"string","enum":["adfs"]},{"type":"string","enum":["okta"]},{"type":"string","enum":["ping"]},{"type":"string","enum":["snowflake"]},{"type":"string","enum":["unknown"]}],"type":"null","description":"OAuth provider type. Supported values are adfs, auth0, azuread, okta, ping, snowflake, aws_databricks, azure_databricks, gcp_databricks, and unknown."},"usePkce":{"type":["boolean","null"],"description":"Whether the OAuth flow should require Proof Key for Code Exchange (PKCE). Databricks-hosted OAuth providers require PKCE."},"useJwt":{"type":["boolean","null"],"description":"Whether the OAuth flow should use JWT bearer token authentication instead of a client secret."},"jwkSetId":{"type":"string","description":"Unique identifier of the JWK set whose active key signs the JWT bearer assertions for this connection. Requires `useJwt` to be true."}}},{"type":"object","properties":{"useOauth":{"type":"boolean","description":"Whether this BigQuery connection uses OAuth federation."},"audience":{"type":"string","description":"Google workforce identity federation audience used to exchange the OAuth token for a Google access token."},"writeAccess":{"type":"object","required":["writeProject","writeDataset"],"properties":{"writeProject":{"type":"string"},"writeDataset":{"type":"string"}}}}}],"description":"Details of the BigQuery connection.","title":"Google BigQuery"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["snowflake"]}}},{"type":"object","properties":{"server":{"type":"string"},"account":{"type":"string"},"host":{"type":"string"},"warehouse":{"type":"string"},"role":{"type":"string"},"authType":{"type":"string","enum":["basic-auth","key-pair","oauth"]}}},{"oneOf":[{"type":"object","required":["user","password"],"properties":{"user":{"type":"string"},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]}},"description":"Set up basic authentication for the connection","title":"Basic Authentication"},{"allOf":[{"type":"object","required":["user","privateKey"],"properties":{"user":{"type":"string"},"privateKey":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]}}},{"type":"object","properties":{"privateKeyPassphrase":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]}}}],"description":"Set up key-pair authentication for the connection","title":"Key-Pair Authentication"},{"type":"object","required":["useOauth"],"properties":{"useOauth":{"type":"boolean","enum":[true]}},"description":"Set up OAuth for the connection","title":"OAuth"}]},{"type":"object","properties":{"usePython":{"type":"boolean"},"pythonSecrets":{"type":"object","properties":{"setupUser":{"allOf":[{"type":"object","required":["username","password"],"properties":{"username":{"type":"string"},"password":{"type":"string"}}},{"type":"object","properties":{"role":{"type":"string"}}}]},"pythonUser":{"allOf":[{"type":"object","required":["username","password"],"properties":{"username":{"type":"string"},"password":{"type":"string"}}},{"type":"object","properties":{"role":{"type":"string"}}}]}}},"pythonProperties":{"type":"object","properties":{"serviceNames":{"type":"array","items":{"type":"string"}},"externalAccessIntegration":{"type":"string"}}}}},{"type":"object","properties":{"useSourceSwapPolicy":{"type":"boolean"},"sourceSwapPolicyId":{"type":"string"}}},{"type":"object","properties":{"metadataUrl":{"type":"string","description":"OAuth metadata URL for connection-level OAuth."},"clientId":{"type":"string","description":"Client ID for the OAuth application used by this connection."},"clientSecret":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"Client secret for the OAuth application used by this connection. This value is write-only and is not returned by the API."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes to request when users authenticate to this connection."},"idpType":{"oneOf":[{"type":"string","enum":["aws_databricks"]},{"type":"string","enum":["azure_databricks"]},{"type":"string","enum":["gcp_databricks"]},{"type":"string","enum":["azuread"]},{"type":"string","enum":["auth0"]},{"type":"string","enum":["adfs"]},{"type":"string","enum":["okta"]},{"type":"string","enum":["ping"]},{"type":"string","enum":["snowflake"]},{"type":"string","enum":["unknown"]}],"type":"null","description":"OAuth provider type. Supported values are adfs, auth0, azuread, okta, ping, snowflake, aws_databricks, azure_databricks, gcp_databricks, and unknown."},"usePkce":{"type":["boolean","null"],"description":"Whether the OAuth flow should require Proof Key for Code Exchange (PKCE). Databricks-hosted OAuth providers require PKCE."},"useJwt":{"type":["boolean","null"],"description":"Whether the OAuth flow should use JWT bearer token authentication instead of a client secret."},"jwkSetId":{"type":"string","description":"Unique identifier of the JWK set whose active key signs the JWT bearer assertions for this connection. Requires `useJwt` to be true."}}},{"type":"object","properties":{"exportsWarehouse":{"type":"string","description":"Warehouse to use for export workloads."},"writeAccess":{"oneOf":[{"allOf":[{"type":"object","required":["writeDatabase","writeSchema"],"properties":{"writeDatabase":{"type":"string","description":"Database or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"materializationWarehouse":{"type":"string","description":"Warehouse to use for materialization workloads"},"useDynamicTables":{"type":"boolean","description":"Whether to use Snowflake dynamic tables for materialization workloads."}}}],"description":"","title":"Set write location and materialization warehouse"},{"type":"object","properties":{"materializationWarehouse":{"type":"string","description":"Warehouse to use for materialization workloads"},"useDynamicTables":{"type":"boolean","description":"Whether to use Snowflake dynamic tables for materialization workloads."}},"description":"","title":"Set materialization warehouse"}],"description":"Specify write access for non-OAuth connections"},"userAttributes":{"type":"object","properties":{"role":{"type":"string"},"warehouse":{"type":"string"}}},"writebackSchemas":{"type":"array","items":{"allOf":[{"type":"object","required":["writeDatabase","writeSchema"],"properties":{"writeDatabase":{"type":"string","description":"Database or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the write-back destination"},"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for OAuth connections"},"inputTableAuditLogSchema":{"allOf":[{"type":"object","required":["writeDatabase","writeSchema"],"properties":{"writeDatabase":{"type":"string","description":"Database or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}}],"description":"Specify a schema for input table write access logs"},"pythonProperties":{"type":"object","properties":{"externalAccessIntegration":{"type":"string","description":"Name of the Snowflake external access integration to enable for Python."},"warehouse":{"type":"string","description":"Warehouse to use to run Python code."},"packages":{"type":"string","description":"Comma-separated list of Python packages to install."}},"description":"Python configuration for this Snowflake connection."},"roleSwitching":{"type":"string","enum":["allRoles","disabled"],"description":"Whether a Snowflake OAuth connection allows users to switch roles when running queries. Only relevant when `useOauth` is true."}}}],"description":"Details of the Snowflake connection.","title":"Snowflake"},{"allOf":[{"type":"object","required":["type","host"],"properties":{"type":{"type":"string","enum":["databricks"]},"host":{"type":"string"}}},{"oneOf":[{"type":"object","required":["endpoint"],"properties":{"endpoint":{"type":"string"}}},{"type":"object","required":["userAttributes"],"properties":{"userAttributes":{"type":"object","required":["endpoint"],"properties":{"endpoint":{"type":"string"}}}}}]},{"oneOf":[{"type":"object","required":["token"],"properties":{"token":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]}},"description":"Set up basic authentication for the connection","title":"Basic Authentication"},{"type":"object","required":["useOauth"],"properties":{"useOauth":{"type":"boolean","enum":[true]}},"description":"Set up OAuth for the connection","title":"OAuth"}]},{"type":"object","properties":{"workspaceUrl":{"type":"string"},"useSourceSwapPolicy":{"type":"boolean"},"sourceSwapPolicyId":{"type":"string"},"usePython":{"type":"boolean","description":"Set to `true` to enable Python queries on this Databricks connection. Requires `pythonComputeClusterId`.","title":"Use Python"}}},{"type":"object","properties":{"metadataUrl":{"type":"string","description":"OAuth metadata URL for connection-level OAuth."},"clientId":{"type":"string","description":"Client ID for the OAuth application used by this connection."},"clientSecret":{"oneOf":[{"type":"string"},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"Client secret for the OAuth application used by this connection. This value is write-only and is not returned by the API."},"scopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes to request when users authenticate to this connection."},"idpType":{"oneOf":[{"type":"string","enum":["aws_databricks"]},{"type":"string","enum":["azure_databricks"]},{"type":"string","enum":["gcp_databricks"]},{"type":"string","enum":["azuread"]},{"type":"string","enum":["auth0"]},{"type":"string","enum":["adfs"]},{"type":"string","enum":["okta"]},{"type":"string","enum":["ping"]},{"type":"string","enum":["snowflake"]},{"type":"string","enum":["unknown"]}],"type":"null","description":"OAuth provider type. Supported values are adfs, auth0, azuread, okta, ping, snowflake, aws_databricks, azure_databricks, gcp_databricks, and unknown."},"usePkce":{"type":["boolean","null"],"description":"Whether the OAuth flow should require Proof Key for Code Exchange (PKCE). Databricks-hosted OAuth providers require PKCE."},"useJwt":{"type":["boolean","null"],"description":"Whether the OAuth flow should use JWT bearer token authentication instead of a client secret."},"jwkSetId":{"type":"string","description":"Unique identifier of the JWK set whose active key signs the JWT bearer assertions for this connection. Requires `useJwt` to be true."}}},{"type":"object","properties":{"writeAccess":{"type":"object","required":["writeCatalog","writeSchema"],"properties":{"writeCatalog":{"type":"string","description":"Catalog or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}},"description":"Configure write-back for non-OAuth connections"},"writebackSchemas":{"type":"array","items":{"allOf":[{"type":"object","required":["writeCatalog","writeSchema"],"properties":{"writeCatalog":{"type":"string","description":"Catalog or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the write-back destination"},"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for OAuth connections"},"inputTableAuditLogSchema":{"allOf":[{"type":"object","required":["writeCatalog","writeSchema"],"properties":{"writeCatalog":{"type":"string","description":"Catalog or top-level object to contain tables written back to the data platform"},"writeSchema":{"type":"string","description":"Schema or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}}],"description":"Schema to use for the input table write-ahead log (WAL). Cannot be changed without breaking write behavior on this connection."},"enableHiveMetastore":{"type":"boolean","description":"Set to `true` to see and use your `hive_metastore` catalog in Sigma. Defaults to `false`. If you omit this field in an update request, Sigma resets it to `false`.","title":"Enable Hive metastore"},"pythonComputeClusterId":{"type":"string","description":"ID of the all-purpose compute cluster used to run Python queries. Must be set together with `usePython`. If you omit this field in an update request, Sigma clears the Python configuration.","title":"Compute cluster ID"}}}],"description":"Details of the Databricks connection.","title":"Databricks"},{"allOf":[{"type":"object","required":["type","user","password","host","port"],"properties":{"type":{"type":"string","enum":["mysql"]},"user":{"type":"string"},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}]},"host":{"type":"string"},"port":{"type":"number"}}},{"type":"object","properties":{"writeAccess":{"type":"object","required":["writeSchema"],"properties":{"writeSchema":{"type":"string"}}}}}],"description":"Details of the MySQL connection.","title":"MySQL"},{"allOf":[{"type":"object","required":["type","server","database"],"properties":{"type":{"type":"string","enum":["azuresql"],"description":"Azure SQL DB connection type."},"server":{"type":"string","description":"Fully qualified Azure SQL DB server name."},"database":{"type":"string","description":"Database to connect to on the Azure SQL DB server."}}},{"type":"object","required":["server","port","user","password"],"properties":{"server":{"type":"string","description":"Fully qualified server name or host."},"port":{"type":"number","description":"Port for the database server."},"user":{"type":"string","description":"Username used to authenticate to the database."},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"Password used to authenticate to the database. This value is write-only and is not returned by the API."}}},{"type":"object","properties":{"useReadUncommittedIsolation":{"type":"boolean","description":"Whether queries run with READ UNCOMMITTED transaction isolation."},"writeAccess":{"type":"object","required":["writeDatabase","writeSchema"],"properties":{"writeDatabase":{"type":"string","description":"Database to contain tables written back to the data platform."},"writeSchema":{"type":"string","description":"Schema to contain tables written back to the data platform."}},"description":"Configure write-back for the connection."}}}],"description":"Details of the Azure SQL DB connection.","title":"Azure SQL DB"},{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["sqlserver"],"description":"SQL Server connection type."}}},{"type":"object","required":["server","port","user","password"],"properties":{"server":{"type":"string","description":"Fully qualified server name or host."},"port":{"type":"number","description":"Port for the database server."},"user":{"type":"string","description":"Username used to authenticate to the database."},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"Password used to authenticate to the database. This value is write-only and is not returned by the API."}}},{"type":"object","properties":{"useReadUncommittedIsolation":{"type":"boolean","description":"Whether queries run with READ UNCOMMITTED transaction isolation."},"writeAccess":{"type":"object","required":["writeDatabase","writeSchema"],"properties":{"writeDatabase":{"type":"string","description":"Database to contain tables written back to the data platform."},"writeSchema":{"type":"string","description":"Schema to contain tables written back to the data platform."}},"description":"Configure write-back for the connection."}}}],"description":"Details of the SQL Server connection.","title":"SQL Server"},{"allOf":[{"type":"object","required":["type","host","port","user","password"],"properties":{"type":{"type":"string","enum":["starburst"],"description":"Starburst connection type."},"host":{"type":"string","description":"The address of your Starburst Galaxy cluster as a URL or an IP address."},"port":{"type":"number","description":"The port through which Sigma connects to your Starburst Galaxy cluster."},"user":{"type":"string","description":"The username of the service account set up by your Starburst administrator."},"password":{"oneOf":[{"type":"string"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["plain"]},"value":{"type":"string"}}},{"type":"object","required":["secretManagerId","secretId"],"properties":{"secretManagerId":{"type":"string"},"secretId":{"type":"string"}}}],"description":"The password for the service account set up by your Starburst administrator. This value is write-only and is not returned by the API."}}},{"type":"object","properties":{"writeAccess":{"type":"object","required":["writeCatalog","writeSchema"],"properties":{"writeCatalog":{"type":"string","description":"Catalog to contain tables written back to the data platform."},"writeSchema":{"type":"string","description":"Schema to contain tables written back to the data platform."}},"description":"Configure write-back for the connection."}}}],"description":"Details of the Starburst connection.","title":"Starburst"}]},"name":{"type":"string"}}},{"type":"object","properties":{"description":{"type":"object","additionalProperties":{}},"poolSizes":{"type":"object","properties":{"isPoolConfigured":{"type":"boolean","description":"Whether custom connection pool sizes are configured. If any pool size is supplied without this field, the API stores it as true."},"schedulePoolSize":{"type":"number","description":"Pool size for scheduled workloads."},"catalogPoolSize":{"type":"number","description":"Pool size for catalog workloads."},"resultPoolSize":{"type":"number","description":"Pool size for result cache workloads."}},"description":"Connection pool sizes. Each pool bounds how many queries of a given type (ad hoc, scheduled, catalog, result cache) run concurrently against the warehouse."},"timeoutSecs":{"type":"number"},"useFriendlyNames":{"type":"boolean"}}},{"type":"object","properties":{"restore":{"type":"boolean"}}}]}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["organizationId","connectionId","isSample","isAuditLog","lastActiveAt","name","type","useOauth","createdBy","updatedBy","createdAt","updatedAt"],"properties":{"organizationId":{"type":"string","description":"Unique identifier of the organization"},"connectionId":{"type":"string","description":"Unique identifier of the connection"},"isSample":{"type":"boolean","description":"Whether the connection is the Sigma sample data connection"},"isAuditLog":{"type":"boolean","description":"Whether audit logging is enabled"},"lastActiveAt":{"type":"string","format":"date-time","description":"Last activity date and time"},"name":{"type":"string","description":"Name of the connection"},"type":{"type":"string","description":"Type of the connection (e.g., \"bigQuery\")"},"useOauth":{"type":"boolean","description":"Whether OAuth is used"},"createdBy":{"type":"string","description":"Identifier of the user who created this connection"},"updatedBy":{"type":"string","description":"Identifier of the user or process that last updated this connection"},"createdAt":{"type":"string","format":"date-time","description":"When the connection was created"},"updatedAt":{"type":"string","format":"date-time","description":"When the connection was last updated"}}},{"type":"object","properties":{"isArchived":{"type":"boolean","description":"Whether the connection is archived"},"account":{"type":"string","description":"Account associated with the connection"},"warehouse":{"type":"string","description":"Warehouse associated with the connection"},"user":{"type":"string","description":"User associated with the connection"},"httpPath":{"type":"string","description":"For Databricks connections, HTTP path of the SQL warehouse. Not included when a user attribute sets the HTTP path."},"role":{"type":"string","description":"Role used by the connection user"},"timeout":{"allOf":[{"type":"object","required":["default"],"properties":{"default":{"type":"number"}}},{"type":"object","properties":{"worksheet":{"type":"number"},"dashboard":{"type":"number"},"download":{"type":"number"}}}],"description":"Timeout settings for the connection, with a default value in seconds"},"poolSizes":{"type":"object","properties":{"isPoolConfigured":{"type":"boolean"},"catalogPoolSize":{"type":"number"},"resultPoolSize":{"type":"number"},"schedulePoolSize":{"type":"number"}},"description":"Pool sizes for the connection, such as for catalogPoolSize or schedulePoolSize"},"writeAccess":{"type":"boolean"},"friendlyName":{"type":"boolean","description":"Whether friendly names are enabled for this connection"},"writebacks":{"type":"array","items":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}},{"type":"object","properties":{"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for non-OAuth connections"},"writebackSchemas":{"type":"array","items":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}},{"type":"object","properties":{"description":{"type":"string","description":"Description for the write-back destination."}}}]},"description":"Configure write-back for OAuth connections"},"inputTableAuditLogSchema":{"allOf":[{"type":"object","required":["database","schema"],"properties":{"database":{"type":"string","description":"Database, catalog, or top-level object to contain tables written back to the data platform"},"schema":{"type":"string","description":"Schema, database, or second-level object to contain tables written back to the data platform"}}},{"type":"object","properties":{"writebackSchemaId":{"type":"string","description":"Unique identifier of the writebackSchema"}}}],"description":"Schema to use for the input table write-ahead log (WAL). Cannot be changed without breaking write behavior on this connection."},"materializationWarehouse":{"type":"string","description":"Warehouse used to run materialization jobs"},"exportsWarehouse":{"type":"string","description":"Warehouse used to run export jobs"},"oauthMetadataUrl":{"type":"string","description":"OAuth metadata URL configured directly on this connection."},"oauthClientId":{"type":"string","description":"Client ID configured directly on this connection."},"oauthScopes":{"type":"array","items":{"type":"string"},"description":"OAuth scopes configured directly on this connection."},"oauthIdpType":{"oneOf":[{"type":"string","enum":["aws_databricks"]},{"type":"string","enum":["azure_databricks"]},{"type":"string","enum":["gcp_databricks"]},{"type":"string","enum":["azuread"]},{"type":"string","enum":["auth0"]},{"type":"string","enum":["adfs"]},{"type":"string","enum":["okta"]},{"type":"string","enum":["ping"]},{"type":"string","enum":["snowflake"]},{"type":"string","enum":["unknown"]}],"description":"OAuth provider type configured or inferred for this connection."},"oauthUsePkce":{"type":["boolean","null"],"description":"Whether this connection-level OAuth configuration uses PKCE."},"oauthUseJwt":{"type":["boolean","null"],"description":"Whether this connection-level OAuth configuration uses JWT bearer token authentication."},"oauthJwkSetId":{"type":"string","description":"Unique identifier of the JWK set used to sign JWT bearer assertions for this connection."},"oauthAudience":{"type":"string","description":"Audience used for OAuth federation, such as the Google workforce identity federation audience for BigQuery."},"isIndependentOAuth":{"type":"boolean","description":"Whether this connection uses connection-level OAuth instead of organization-level OAuth."},"userAttributes":{"type":"object","properties":{"role":{"type":"string"},"warehouse":{"type":"string"}},"description":"User attributes associated with the connection"},"roleSwitching":{"type":"string","enum":["allRoles","disabled"],"description":"Whether a Snowflake OAuth connection allows users to switch roles when running queries. Only relevant for Snowflake OAuth connections."},"enableHiveMetastore":{"type":"boolean","description":"Whether this Databricks connection exposes the `hive_metastore` catalog in Sigma. Only relevant for Databricks connections.","title":"Enable Hive metastore"},"usePython":{"type":"boolean","title":"Enable Python queries"},"pythonComputeClusterId":{"type":"string","description":"ID of the all-purpose compute cluster used to run Python queries. Only relevant for Databricks connections with Python enabled.","title":"Compute cluster ID"}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections/{connectionId}/dbtArtifacts":{"post":{"summary":"Add dbt metadata for a connection","description":"Add dbt run artifacts for a given connection. For more details, see [Configure dbt Core integration](/docs/manage-dbt-integration#configure-dbt-core-integration-beta).\n\n  ### Usage notes\n  - Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.\n  - Create a tar.gz file containing the target directory of your dbt project that contains run artifacts.\n  - Provide the file in the request with the field name 'artifacts'.\n    ","parameters":[{"name":"connectionId","schema":{"type":"string","description":"Unique identifier of the connection","title":"Connection ID"},"in":"path","required":true}],"operationId":"postConnectionDbtArtifacts","requestBody":{"description":"The request body.","content":{"multipart/form-data":{"schema":{"type":"object","required":["artifacts"],"properties":{"artifacts":{"type":"string","format":"binary","description":"Compressed (tar.gz) file containing the artifacts of a dbt run."}},"title":"dbt run artifacts"}}}},"responses":{"201":{"description":"The dbt artifacts were added to the connection.","content":{"application/json":{"schema":{"type":"object","properties":{},"description":"The dbt artifacts were added to the connection."}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections/{connectionId}/grants":{"post":{"summary":"Add grants to a connection","description":"Add grants to grant permissions on a connection to specific users or teams.\n\n  ### Usage notes\n  - See [Data permissions overview](https://help.sigmacomputing.com/docs/data-permissions-overview) for details about permissions that can be granted on a connection.\n  - Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.\n  - Specify the team or user IDs to grant permissions:\n\n    - Retrieve the **memberId** by calling the [/v2/members](https://help.sigmacomputing.com/reference/list-members) endpoint.\n    - Retrieve the **teamId** by calling the [/v2/teams](https://help.sigmacomputing.com/reference/list-teams) endpoint.\n\n  ### Usage scenarios\n  - Grant a specific team `Can use` access to a connection. ","parameters":[{"name":"connectionId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"createConnectionGrant","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"type":"object","required":["grants"],"properties":{"grants":{"type":"array","items":{"type":"object","required":["grantee","permission"],"properties":{"grantee":{"oneOf":[{"type":"object","required":["memberId"],"properties":{"memberId":{"type":"string"}},"description":"The UUID of the member receiving the grant","title":"Member"},{"type":"object","required":["teamId"],"properties":{"teamId":{"type":"string"}},"description":"The UUID of the team receiving the grant","title":"Team"}]},"permission":{"type":"string","enum":["annotate","usage"],"description":"Connection permissions of Can Use & Annotate and Can Use.","title":"Connection permissions"}}}}},"title":"Connection grant creation request"}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"https://help.sigmacomputing.com/docs/manage-data-permissions","description":"Sigma API documentation:"},"tags":["connections"]},"get":{"summary":"List grants for a connection","description":"Get a list of permissions granted to users or teams on a specific connection.\n\n### Usage notes\n- Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.\n  ","parameters":[{"name":"connectionId","schema":{"type":"string"},"in":"path","required":true},{"name":"page","schema":{"type":"string","description":"Use to specify further pages using the string returned in the nextPage portion of the response.","title":"Page"},"in":"query"},{"name":"limit","schema":{"type":"number","description":"Number of results to return per page, with a maximum of 1,000 per request. Use the `page` option in subsequent requests to retrieve the next set of results.","title":"Limit"},"in":"query"}],"operationId":"listConnectionGrants","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries","nextPage"],"properties":{"entries":{"type":"array","items":{"type":"object","required":["grantId","inodeId","organizationId","memberId","teamId","permission","createdBy","updatedBy","createdAt","updatedAt"],"properties":{"grantId":{"type":"string","description":"The unique identifier of the grant"},"inodeId":{"type":"string","description":"The unique identifier of the inode"},"organizationId":{"type":"string","description":"The unique identifier of the organization"},"memberId":{"type":["string","null"],"description":"The unique identifier of the member"},"teamId":{"type":["string","null"],"description":"The unique identifier of the team"},"permission":{"oneOf":[{"type":"string","enum":["admin","annotate","update","usage","writeback"],"description":"Valid inode types: table, connection database, and connection schema.","title":"Connection Permission"},{"type":"string","enum":["create","annotate","organize","explore","view","edit","apply"],"description":"Valid inode types: folder, workspace, workbook, dataset, and data model. Can Contribute permissions are listed as **organize** and Can Manage permissions are listed as **edit**.","title":"Inode Permission"},{"type":"string","enum":["view","edit","apply"],"description":"Valid inode types: version tag.","title":"Version Tag Permission"}],"description":"The permission granted to the member"},"createdBy":{"type":"string","description":"The identifier of the user who created this grant"},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated this grant"},"createdAt":{"type":"string","format":"date-time","description":"When the grant was created"},"updatedAt":{"type":"string","format":"date-time","description":"When the grant was last updated"}},"title":"Connection grant response"},"description":"Array of results returned by the endpoint"},"nextPage":{"type":["string","null"],"description":"Returns a string that can be used as the `page` parameter in the next request to fetch the next page of results. The last page of results returns `null`."}}},{"type":"object","properties":{"total":{"type":"number","description":"Total number of results. Useful to determine if there is a need to paginate."},"hasMore":{"type":"boolean","description":"**[Deprecated]** Indicates whether more results are available."}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"https://help.sigmacomputing.com/docs/manage-data-permissions","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections/{connectionId}/grants/{grantId}":{"delete":{"summary":"Delete a grant for a connection","description":"Deletes a specific permission granted on a specific connection.\n\n  ### Usage notes\n  - Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.\n\n  ### Usage scenarios\n  - **Principle of least privilege**: Reduce the permissions granted to specific users and teams on a connection to only what is needed.\n  - **User offboarding**: Remove connection permissions granted to a user that will be deactivated.\n    ","parameters":[{"name":"connectionId","schema":{"type":"string"},"in":"path","required":true},{"name":"grantId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"deleteConnectionGrant","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections/{connectionId}/sync":{"post":{"summary":"Sync a connection by path","description":"\n  Sync the connection for a data source to retrieve any changes from the data warehouse.\n\n  ### Usage notes\n  - Specify the path to a table, stored procedure, schema, or database in your data warehouse that you want to sync. To trigger a full connection sync, provide an empty path (`[]`).\n  - Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.\n  - Different connections support different paths:\n\n    - For a Snowflake connection, you can specify `DATABASE.SCHEMA.TABLE`, `DATABASE.SCHEMA.STORED_PROCEDURE`, or a less-specific path.\n    - For Amazon Redshift, you can specify `SCHEMA.TABLE`, `SCHEMA.STORED_PROCEDURE`, or a less-specific path.\n    - For Databricks, you can specify `CATALOG.SCHEMA.TABLE` or a less-specific path.\n    ","parameters":[{"name":"connectionId","schema":{"type":"string"},"in":"path","required":true},{"name":"useServiceAccount","schema":{"type":"boolean","description":"Whether to use the OAuth connection's service account to perform the sync."},"in":"query"}],"operationId":"syncConnectionPath","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"type":"object","required":["path"],"properties":{"path":{"oneOf":[{"type":"array","minItems":3,"maxItems":3,"items":{"type":"string","description":"Database name","title":"Database"},"description":"Represents a path of the form `DATABASE.SCHEMA.TABLE` or `DATABASE.SCHEMA.STORED_PROCEDURE`.","title":"Table or Object Path"},{"type":"array","minItems":2,"maxItems":2,"items":{"type":"string","description":"Database Name","title":"Database"},"description":"Represents a path of the form `DATABASE.SCHEMA`.","title":"Schema Path"},{"type":"array","minItems":1,"maxItems":1,"items":{"type":"string","description":"Database Name","title":"Database"},"description":"Represents a path of the form `DATABASE`.","title":"Database Path"},{"type":"array","items":{},"maxItems":0,"description":"Empty path to sync the entire connection.","title":"Empty Path"}]}}}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections/{connectionId}/test":{"get":{"summary":"Test a connection","description":"Test whether an existing connection allows read and write operations for the user associated with the API credentials.\n\n  ### Usage notes\n  - Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.\n      ","parameters":[{"name":"connectionId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"testConnection","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","required":["read","write"],"properties":{"read":{"oneOf":[{"type":"string","enum":["SUCCESS"]},{"type":"string","enum":["FAILED"]}]},"write":{"oneOf":[{"type":"string","enum":["DISABLED"]},{"type":"string","enum":["SUCCESS"]},{"type":"string","enum":["FAILED"]}]}}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections/paths":{"get":{"summary":"List connection paths","description":"List all paths for all connections available to the user.\n\n  ### Usage notes\n  - Call this endpoint to retrieve the specific databases, catalogs, schemas, and tables available to the user associated with the API credentials.\n  - Pass `connectionId` to restrict results to a single connection.\n    ","parameters":[{"name":"page","schema":{"type":"string","description":"Use to specify further pages using the string returned in the nextPage portion of the response.","title":"Page"},"in":"query"},{"name":"limit","schema":{"type":"number","description":"Number of results to return per page, with a maximum of 1,000 per request. Use the `page` option in subsequent requests to retrieve the next set of results.","title":"Limit"},"in":"query"},{"name":"connectionId","schema":{"type":"string","description":"Restrict results to paths within this connection.","title":"Connection ID"},"in":"query"}],"operationId":"listConnectionPaths","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries","nextPage"],"properties":{"entries":{"type":"array","items":{"type":"object","required":["connectionId","urlId","path"],"properties":{"connectionId":{"type":"string"},"urlId":{"type":"string"},"path":{"oneOf":[{"type":"array","minItems":3,"maxItems":3,"items":{"type":"string","description":"Database name","title":"Database"},"description":"Represents a path of the form `DATABASE.SCHEMA.TABLE` or `DATABASE.SCHEMA.STORED_PROCEDURE`.","title":"Table or Object Path"},{"type":"array","minItems":2,"maxItems":2,"items":{"type":"string","description":"Database Name","title":"Database"},"description":"Represents a path of the form `DATABASE.SCHEMA`.","title":"Schema Path"},{"type":"array","minItems":1,"maxItems":1,"items":{"type":"string","description":"Database Name","title":"Database"},"description":"Represents a path of the form `DATABASE`.","title":"Database Path"},{"type":"array","items":{},"maxItems":0,"description":"Empty path to sync the entire connection.","title":"Empty Path"}]}}},"description":"Array of results returned by the endpoint"},"nextPage":{"type":["string","null"],"description":"Returns a string that can be used as the `page` parameter in the next request to fetch the next page of results. The last page of results returns `null`."}}},{"type":"object","properties":{"total":{"type":"number","description":"Total number of results. Useful to determine if there is a need to paginate."},"hasMore":{"type":"boolean","description":"**[Deprecated]** Indicates whether more results are available."}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections/paths/{connectionPathId}/grants":{"post":{"summary":"Add grants to a connection path","description":"Add a grant to a specific connection path to grant permissions for users or teams.\n\n  ### Usage notes\n  - Retrieve the **connectionPathId** by calling the [/v2/connection/{connectionId}/lookup](https://help.sigmacomputing.com/reference/lookup-connection) endpoint and using the `inodeId` included in the response, or by calling the [/v2/connections/paths](https://help.sigmacomputing.com/reference/list-connection-paths) endpoint and using the `urlId` included in the response.\n  - Specify the team or user IDs to grant permissions:\n\n    - Retrieve the **memberId** by calling the [/v2/members](https://help.sigmacomputing.com/reference/list-members) endpoint.\n    - Retrieve the **teamId** by calling the [/v2/teams](https://help.sigmacomputing.com/reference/list-teams) endpoint.\n    ","parameters":[{"name":"connectionPathId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"createConnectionPathGrant","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"type":"object","required":["grants"],"properties":{"grants":{"type":"array","items":{"type":"object","required":["grantee","permission"],"properties":{"grantee":{"oneOf":[{"type":"object","required":["memberId"],"properties":{"memberId":{"type":"string"}},"description":"The UUID of the member receiving the grant","title":"Member"},{"type":"object","required":["teamId"],"properties":{"teamId":{"type":"string"}},"description":"The UUID of the team receiving the grant","title":"Team"}]},"permission":{"type":"string","enum":["annotate","usage"]}}}}},"title":"Connection path grant creation request"}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"https://help.sigmacomputing.com/docs/manage-data-permissions","description":"Sigma API documentation:"},"tags":["connections"]},"get":{"summary":"List grants for a connection path","description":"Get a list of permissions granted to a specific connection path.\n\n  ### Usage notes\n  - Retrieve the **connectionPathId** by calling the [/v2/connection/{connectionId}/lookup](https://help.sigmacomputing.com/reference/lookup-connection) endpoint and using the `inodeId` included in the response, or by calling the [/v2/connections/paths](https://help.sigmacomputing.com/reference/list-connection-paths) endpoint and using the `urlId` included in the response.\n  ","parameters":[{"name":"connectionPathId","schema":{"type":"string"},"in":"path","required":true},{"name":"page","schema":{"type":"string","description":"Use to specify further pages using the string returned in the nextPage portion of the response.","title":"Page"},"in":"query"},{"name":"limit","schema":{"type":"number","description":"Number of results to return per page, with a maximum of 1,000 per request. Use the `page` option in subsequent requests to retrieve the next set of results.","title":"Limit"},"in":"query"}],"operationId":"listConnectionPathGrants","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries","nextPage"],"properties":{"entries":{"type":"array","items":{"type":"object","required":["grantId","inodeId","organizationId","memberId","teamId","permission","createdBy","updatedBy","createdAt","updatedAt"],"properties":{"grantId":{"type":"string","description":"The unique identifier of the grant"},"inodeId":{"type":"string","description":"The unique identifier of the inode"},"organizationId":{"type":"string","description":"The unique identifier of the organization"},"memberId":{"type":["string","null"],"description":"The unique identifier of the member"},"teamId":{"type":["string","null"],"description":"The unique identifier of the team"},"permission":{"oneOf":[{"type":"string","enum":["admin","annotate","update","usage","writeback"],"description":"Valid inode types: table, connection database, and connection schema.","title":"Connection Permission"},{"type":"string","enum":["create","annotate","organize","explore","view","edit","apply"],"description":"Valid inode types: folder, workspace, workbook, dataset, and data model. Can Contribute permissions are listed as **organize** and Can Manage permissions are listed as **edit**.","title":"Inode Permission"},{"type":"string","enum":["view","edit","apply"],"description":"Valid inode types: version tag.","title":"Version Tag Permission"}],"description":"The permission granted to the member"},"createdBy":{"type":"string","description":"The identifier of the user who created this grant"},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated this grant"},"createdAt":{"type":"string","format":"date-time","description":"When the grant was created"},"updatedAt":{"type":"string","format":"date-time","description":"When the grant was last updated"}},"title":"Connection grant response"}},"nextPage":{"type":["string","null"]}}},{"type":"object","properties":{"hasMore":{"type":"boolean","description":"**[Deprecated]** Indicates whether more results are available."}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"https://help.sigmacomputing.com/docs/manage-data-permissions","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections/paths/{connectionPathId}/grants/{grantId}":{"delete":{"summary":"Delete a grant for a connection path","description":"Delete a specific permission granted to a specific connection path for a user or team.\n\n  ### Usage notes\n  - Retrieve the **connectionPathId** by calling the [/v2/connection/{connectionId}/lookup](https://help.sigmacomputing.com/reference/lookup-connection) endpoint and using the `inodeId` included in the response, or by calling the [/v2/connections/paths](https://help.sigmacomputing.com/reference/list-connection-paths) endpoint and using the `urlId` included in the response.\n  - Retrieve the **grantId** by calling the [/v2/connections/paths/{connectionPathId}/grants](https://help.sigmacomputing.com/reference/list-connection-path-grants) endpoint.\n  ","parameters":[{"name":"connectionPathId","schema":{"type":"string"},"in":"path","required":true},{"name":"grantId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"deleteConnectionPathGrant","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"https://help.sigmacomputing.com/docs/manage-data-permissions","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections/paths/{inodeId}":{"get":{"summary":"Get connection path for a table","description":"Get the connection path for a specific table. If the inodeId is not for a table, this endpoint returns an error.\n\n  ### Usage notes\n  - Retrieve the **inodeId** by calling the [/v2/workbooks/{workbookId}/sources](https://help.sigmacomputing.com/reference/get-workbook-sources) or [/v2/datasets/{datasetId}/source](https://help.sigmacomputing.com/reference/get-dataset-sources) endpoint.\n    ","parameters":[{"name":"inodeId","schema":{"type":"string"},"in":"path","required":true}],"operationId":"getInodeConnectionPath","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","required":["connectionId","path"],"properties":{"connectionId":{"type":"string"},"path":{"oneOf":[{"type":"array","minItems":3,"maxItems":3,"items":{"type":"string","description":"Database name","title":"Database"},"description":"Represents a path of the form `DATABASE.SCHEMA.TABLE` or `DATABASE.SCHEMA.STORED_PROCEDURE`.","title":"Table or Object Path"},{"type":"array","minItems":2,"maxItems":2,"items":{"type":"string","description":"Database Name","title":"Database"},"description":"Represents a path of the form `DATABASE.SCHEMA`.","title":"Schema Path"},{"type":"array","minItems":1,"maxItems":1,"items":{"type":"string","description":"Database Name","title":"Database"},"description":"Represents a path of the form `DATABASE`.","title":"Database Path"},{"type":"array","items":{},"maxItems":0,"description":"Empty path to sync the entire connection.","title":"Empty Path"}]}}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/connections/tables/{tableId}/columns":{"get":{"summary":"List columns for a warehouse table","description":"Returns column names, types, and other details for a table in a data warehouse connection.\n\n### Usage notes\n- Retrieve the **tableId** by first calling the [/v2/connections/paths](https://help.sigmacomputing.com/reference/list-connection-paths) endpoint to discover available paths, then calling the [/v2/connection/{connectionId}/lookup](https://help.sigmacomputing.com/reference/lookup-connection) endpoint with the path to the desired table and using the `inodeId` included in the response.","parameters":[{"name":"tableId","schema":{"type":"string"},"in":"path","required":true},{"name":"pageToken","schema":{"type":"string","description":"Use to specify the next set of results with the string returned in the `nextPageToken` field of the previous response.","title":"Page token"},"in":"query"},{"name":"pageSize","schema":{"type":"integer","description":"Number of results to return per page, with a maximum of 1000. Defaults to 50.","title":"Page size"},"in":"query"}],"operationId":"listConnectionTableColumns","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries"],"properties":{"entries":{"type":"array","items":{"allOf":[{"type":"object","required":["name","type","visibility"],"properties":{"name":{"type":"string","description":"The name of the column in the warehouse table."},"type":{"type":"object","description":"The column's data type, represented as a recursive type object."},"visibility":{"type":"string","enum":["included","hidden","removed"],"description":"Visibility of the column. If \"included\", the column is visible. If \"hidden\", the column is hidden but available to be used. If \"removed\", the column has been deleted from the table."}}},{"type":"object","properties":{"description":{"type":"string","description":"The description of the column, if one has been set."}}}]},"description":"Array of results returned by the endpoint","title":"Result entries"}}},{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A string that can be passed to the `pageToken` parameter in the next request to fetch the next page of results. Not present in the last page of results.\n**Must be treated as an opaque string.**","title":"Next page token"}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["connections"]}},"/v2/credentials":{"post":{"summary":"Create API credentials","description":"Create API client credentials for a given user. To make this request, your API client credentials must be associated with a Sigma admin user for the same Sigma organization.\n\n  **Important:** The response includes sensitive information. Ensure that you securely store and handle the returned `clientId` and `clientSecret`. These credentials grant access to your Sigma account and should never be exposed publicly or shared unnecessarily.\n\n  ### Usage Notes:\n  - Retrieve the **ownerId** by calling the [/v2/members](https://help.sigmacomputing.com/reference/list-members) endpoint and using the `memberId` included in the response.","parameters":[],"operationId":"createCredentials","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["ownerId","name"],"properties":{"ownerId":{"type":"string","description":"Unique identifier of the user."},"name":{"type":"string","description":"Name of the credentials."}}},{"type":"object","properties":{"description":{"type":"string","description":"Description of the credentials"}}},{"type":"object","properties":{"scopes":{"type":"array","items":{"type":"string","enum":["api","embed"]},"description":"Scopes to assign to the credentials. If not provided, defaults to \"api\"."}}}]}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","required":["clientId","clientSecret"],"properties":{"clientId":{"type":"string"},"clientSecret":{"type":"string"}}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["credentials"]},"get":{"summary":"List API credentials","description":"List the API client credentials created for users in your Sigma organization.\n### Usage notes\n- To perform this operation, you must use API credentials owned by a user assigned the Admin account type.\n- To read or update credentials for a tenant organization, use [impersonation](/docs/impersonate-users) to obtain a token for that tenant, then call this endpoint with that token.\n- `clientSecret` is never included in the response. It is returned only once, at creation time, in the response to [POST /v2/credentials](https://help.sigmacomputing.com/reference/create-credentials).\n- `ownerId` identifies the user the credentials were created for and `createdBy` identifies the admin who created them.\n\n### Usage scenarios\n- **Credential auditing:** Review which API credentials exist in your organization and who owns each one.\n- **Credential cleanup:** Look up a credential's `clientId` before revoking it with [DELETE /v2/credentials/{clientId}](https://help.sigmacomputing.com/reference/delete-credentials).","parameters":[{"name":"pageToken","schema":{"type":"string","description":"Use to specify the next set of results with the string returned in the `nextPageToken` field of the previous response.","title":"Page token"},"in":"query"},{"name":"pageSize","schema":{"type":"integer","description":"Number of results to return per page, with a maximum of 1000. Defaults to 50.","title":"Page size"},"in":"query"}],"operationId":"listCredentials","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries"],"properties":{"entries":{"type":"array","items":{"type":"object","required":["clientId","ownerId","name","description","createdAt","createdBy","scopes"],"properties":{"clientId":{"type":"string","description":"Client ID of the credentials."},"ownerId":{"type":"string","description":"Unique identifier of the user assigned the credentials."},"name":{"type":"string","description":"Name of the credentials."},"description":{"type":"string","description":"Description of the credentials"},"createdAt":{"type":"string","format":"date-time","description":"When the credentials were created."},"createdBy":{"type":"string","description":"Unique identifier of the user who created the credentials."},"scopes":{"type":"array","items":{"type":"string","enum":["api","embed"]},"description":"Scopes assigned to the credentials."}}},"description":"Array of results returned by the endpoint","title":"Result entries"}}},{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A string that can be passed to the `pageToken` parameter in the next request to fetch the next page of results. Not present in the last page of results.\n**Must be treated as an opaque string.**","title":"Next page token"}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["credentials"]}},"/v2/credentials/{clientId}":{"delete":{"summary":"Delete API credentials","description":"Revoke the API client credentials associated with a given client ID. To make this request, your API client credentials must be associated with a Sigma admin user for the same Sigma organization.","parameters":[{"name":"clientId","schema":{"type":"string","description":"Client ID of the credentials."},"in":"path","required":true}],"operationId":"deleteCredentials","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["credentials"]}},"/v2/dataModels":{"get":{"summary":"List data models","description":"This endpoint retrieves a list of all data models available. You can use the response from this endpoint to review existing data models and determine if there are duplicates or gaps.\n\n### Usage notes\nThis endpoint requires no parameters for basic requests, but supports query parameters for pagination and response limit.\n\nUsers with the Admin account type can optionally retrieve all data models in the organization.\n\n#### Pagination\nThis endpoint supports pagination, which lets you retrieve large sets of data in manageable segments. The response includes pagination details as follows:\n- hasMore: A boolean value indicating whether there are more pages of data available beyond the current page.\n- total: The total number of entries available across all pages.\n- nextPage: An identifier or token that you can use in a subsequent request to retrieve the next page of data.\n\n#### Example response for pagination\n{\n  \"hasMore\": true,\n  \"total\": 104,\n  \"nextPage\": \"50\"\n}\nTo request additional pages, include the `nextPage` option in your followup request according to the endpoint's parameter requirements. This process can be repeated until the `nextPage` option returns `null`, indicating that no further data is available.\n\n### Usage scenarios\n- **Data model navigation:** Allows users to easily navigate through their available of data models and access the one they need.\n- **Track lineage**: Identify dependencies and lineage of data sources and data models.\n","parameters":[{"name":"page","schema":{"type":"string","description":"Use to specify further pages using the string returned in the nextPage portion of the response.","title":"Page"},"in":"query"},{"name":"limit","schema":{"type":"number","description":"Number of results to return per page, with a maximum of 1,000 per request. Use the `page` option in subsequent requests to retrieve the next set of results.","title":"Limit"},"in":"query"},{"name":"excludeTags","schema":{"type":"boolean","description":"Whether to exclude additional information about tagged versions of each result"},"in":"query"},{"name":"skipPermissionCheck","schema":{"type":"boolean","description":"Only available to Sigma admins. Return all data models, regardless of whether the user has access."},"in":"query"}],"operationId":"listDataModels","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries","nextPage"],"properties":{"entries":{"type":"array","items":{"allOf":[{"type":"object","required":["dataModelId"],"properties":{"dataModelId":{"type":"string","description":"Unique identifier of the data model.","title":"Data model ID"}}},{"type":"object","required":["dataModelUrlId","name","url","path","latestVersion","ownerId"],"properties":{"dataModelUrlId":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"path":{"type":"string"},"latestVersion":{"type":"number"},"ownerId":{"type":"string"}}},{"type":"object","required":["createdBy","updatedBy","createdAt","updatedAt"],"properties":{"createdBy":{"type":"string","description":"The identifier of the user who created this object."},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated this object."},"createdAt":{"type":"string","format":"date-time","description":"When the object was created."},"updatedAt":{"type":"string","format":"date-time","description":"When the object was last updated."}}},{"type":"object","properties":{"isArchived":{"type":"boolean"},"tags":{"type":"array","items":{"type":"object","required":["versionTagId","tagName","sourceVersion","taggedAt"],"properties":{"versionTagId":{"type":"string","description":"Unique identifier of the tag.","title":"Tag ID"},"tagName":{"type":"string"},"sourceVersion":{"type":"number"},"taggedAt":{"type":"string","format":"date-time"}}}}}}]},"description":"Array of results returned by the endpoint"},"nextPage":{"type":["string","null"],"description":"Returns a string that can be used as the `page` parameter in the next request to fetch the next page of results. The last page of results returns `null`."}}},{"type":"object","properties":{"total":{"type":"number","description":"Total number of results. Useful to determine if there is a need to paginate."},"hasMore":{"type":"boolean","description":"**[Deprecated]** Indicates whether more results are available."}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["dataModels"]}},"/v2/dataModels/{dataModelId}":{"get":{"summary":"Get a data model","description":"Get details of a specific data model by `dataModelId`.\n\n  ### Usage notes\n  - Retrieve the **dataModelId** by calling the [/v2/dataModels](https://help.sigmacomputing.com/reference/list-data-models) endpoint.","parameters":[{"name":"dataModelId","schema":{"type":"string","description":"Unique identifier of the data model.","title":"Data model ID"},"in":"path","required":true},{"name":"excludeTags","schema":{"type":"boolean","description":"Whether to exclude additional information about tagged versions of each result"},"in":"query"}],"operationId":"getDataModel","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["dataModelId"],"properties":{"dataModelId":{"type":"string","description":"Unique identifier of the data model.","title":"Data model ID"}}},{"type":"object","required":["dataModelUrlId","name","url","path","latestVersion","ownerId"],"properties":{"dataModelUrlId":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"path":{"type":"string"},"latestVersion":{"type":"number"},"ownerId":{"type":"string"}}},{"type":"object","required":["createdBy","updatedBy","createdAt","updatedAt"],"properties":{"createdBy":{"type":"string","description":"The identifier of the user who created this object."},"updatedBy":{"type":"string","description":"The identifier of the user or process that last updated this object."},"createdAt":{"type":"string","format":"date-time","description":"When the object was created."},"updatedAt":{"type":"string","format":"date-time","description":"When the object was last updated."}}},{"type":"object","properties":{"isArchived":{"type":"boolean"},"tags":{"type":"array","items":{"type":"object","required":["versionTagId","tagName","sourceVersion","taggedAt"],"properties":{"versionTagId":{"type":"string","description":"Unique identifier of the tag.","title":"Tag ID"},"tagName":{"type":"string"},"sourceVersion":{"type":"number"},"taggedAt":{"type":"string","format":"date-time"}}}}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["dataModels"]}},"/v2/dataModels/{dataModelId}:materialize":{"post":{"summary":"Run a scheduled materialization for a data model element","description":"This endpoint runs a scheduled materialization for an element in a data model. Materialization processes the data of the specified element, allowing the data to be stored or cached for optimized access and performance.\n\n  For more details on materialization, see [Materialization](https://help.sigmacomputing.com/docs/materialization).\n\n  ### Usage notes\n  - The materialization schedule for the specified element must be created beforehand.\n  - Retrieve the **sheetId** by calling the [/v2/dataModels/{dataModelId}/materializationSchedules](https://help.sigmacomputing.com/reference/list-data-model-materialization-schedules) endpoint.\n  - Retrieve the **dataModelId** by calling the [/v2/dataModels](https://help.sigmacomputing.com/reference/list-data-models) endpoint.\n\n  ### Usage scenarios\n  - **Performance optimization:** Use this endpoint to improve response times for frequently accessed data model elements.\n  - **Data refresh:** Allows users to manually (programmatically) refresh the data of specific data model elements to ensure that the latest data is available for analysis and reporting.\n\n  ### Best practices\n  - Prioritize materialization for elements that are heavily used or form critical components of business reports.\n  - Monitor the performance impacts of materialization and adjust strategies as necessary to optimize resource usage and response times.","parameters":[{"name":"dataModelId","schema":{"type":"string","description":"Unique identifier of the data model.","title":"Data model ID"},"in":"path","required":true}],"operationId":"materializeDataModelElement","requestBody":{"description":"The request body.","content":{"application/json":{"schema":{"type":"object","required":["sheetId"],"properties":{"sheetId":{"type":"string","description":"Identifier for the materialization schedule of this element.","title":"Sheet ID"}}}}}},"responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"type":"object","required":["materializationId"],"properties":{"materializationId":{"type":"string"}}}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["dataModels"]}},"/v2/dataModels/{dataModelId}/columns":{"get":{"summary":"List columns for all elements in a data model","description":"This endpoint retrieves all columns in a data model for all elements in the data model.\n\n  ### Usage notes\n  - Retrieve the **dataModelId** by calling the [/v2/dataModels](https://help.sigmacomputing.com/reference/list-data-models) endpoint.\n\n  ### Usage scenarios\n  - **Data exploration:** Enable users to explore the data structure of a data model element, facilitating deeper analysis and understanding.\n  - **Integration tasks:** Useful for developers integrating Sigma with other tools that need to know the data structure to map data accurately.\n\n  ### Best practices\n  - Use this endpoint when setting up interfaces that require specific knowledge about the data structure.","parameters":[{"name":"dataModelId","schema":{"type":"string","description":"Unique identifier of the data model.","title":"Data model ID"},"in":"path","required":true},{"name":"page","schema":{"type":"string","description":"Use to specify further pages using the string returned in the nextPage portion of the response.","title":"Page"},"in":"query"},{"name":"limit","schema":{"type":"number","description":"Number of results to return per page, with a maximum of 1,000 per request. Use the `page` option in subsequent requests to retrieve the next set of results.","title":"Limit"},"in":"query"}],"operationId":"getDataModelColumns","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries","nextPage"],"properties":{"entries":{"type":"array","items":{"type":"object","required":["columnId","name","formula","type","elementId"],"properties":{"columnId":{"type":"string","description":"Column ID"},"name":{"type":"string","description":"Column name"},"formula":{"type":"string","description":"Column formula or source column reference."},"type":{"type":"object","description":"The column's data type, represented as a recursive type object."},"elementId":{"type":"string","description":"Element ID"}}}},"nextPage":{"type":["string","null"]}}},{"type":"object","properties":{"total":{"type":"number"}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["dataModels"]}},"/v2/dataModels/{dataModelId}/elements":{"get":{"summary":"List elements in a data model","description":"This endpoint retrieves details of all elements in a data model, which helps you understand and interact with the individual components that make up the data model, such as tables or controls.\n### Usage notes\n- Retrieve the **dataModelId** by calling the [/v2/dataModels](https://help.sigmacomputing.com/reference/list-data-models) endpoint.\n- To retrieve elements from version-tagged data models, pass the `tagName` in the query parameters with the tag name. Retrieve the tag name by calling the [/v2/dataModels/{dataModelId}/tags](https://help.sigmacomputing.com/reference/list-data-model-tags) endpoint and using the `tags.name` included in the response for a given data model.\n### Usage scenarios\n- **Detailed analysis:** Developers and users can retrieve specific elements for detailed data analysis or further manipulation.\n- **Interface customization:** Allows for dynamic interface construction where users can choose which elements to display or interact with.\n### Best practices\n- Use pagination to handle large numbers of elements efficiently, reducing load times and improving user experience.","parameters":[{"name":"dataModelId","schema":{"type":"string","description":"Unique identifier of the data model.","title":"Data model ID"},"in":"path","required":true},{"name":"page","schema":{"type":"string","description":"Use to specify further pages using the string returned in the nextPage portion of the response.","title":"Page"},"in":"query"},{"name":"limit","schema":{"type":"number","description":"Number of results to return per page, with a maximum of 1,000 per request. Use the `page` option in subsequent requests to retrieve the next set of results.","title":"Limit"},"in":"query"},{"name":"tagName","schema":{"type":"string"},"in":"query"}],"operationId":"listDataModelElements","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries","nextPage"],"properties":{"entries":{"type":"array","items":{"allOf":[{"type":"object","required":["elementId"],"properties":{"elementId":{"type":"string"}}},{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"columns":{"type":"array","items":{"type":"string"}},"vizualizationType":{"type":"string"},"error":{"type":"string"}}}]}},"nextPage":{"type":["string","null"]}}},{"type":"object","properties":{"total":{"type":"number"}}}]}}}},"default":{"$ref":"#/components/responses/ApiError"}},"externalDocs":{"url":"","description":"Sigma API documentation:"},"tags":["dataModels"]}},"/v2/dataModels/{dataModelId}/elements/{elementId}/columnSecurityRules":{"get":{"summary":"List column-level security rules on a data model element (Beta)","description":"This endpoint retrieves the column security rules used to configure [column-level security (CLS)](https://help.sigmacomputing.com/docs/column-level-security) on a specific element in a data model. Each rule identifies the columns it protects and the criteria that determine which users can view those columns.\n\n**Beta**: This documentation describes a private beta feature and is subject to the [Beta features](/docs/sigma-product-releases#beta-features) disclaimer.\n\n### Usage notes\n- To perform this operation, you must use API credentials owned by a user with **Can edit** access to the data model.\n- Retrieve the **dataModelId** by calling the [/v2/dataModels](https://help.sigmacomputing.com/reference/list-data-models) endpoint.\n- Retrieve the **elementId** by calling the [/v2/dataModels/{dataModelId}/elements](https://help.sigmacomputing.com/reference/list-data-model-elements) endpoint.\n- A rule's `columns` is either a list of column identifiers, or the string `all`, which means the rule applies to every column in the element, including columns added in the future.\n- A rule's `criteria` describes who can view the restricted columns: no one (`no-one-can-view`), specific users and teams (`specific-users-and-teams`), or users assigned a matching user attribute value (`user-attribute`).\n\n### Usage scenarios\n- **Security review:** Allows administrators and data modelers to audit which columns are restricted on an element and who is permitted to view them.\n- **Integration points:** Useful for building governance tooling that needs to report on or reconcile column-level access across data models.\n","parameters":[{"name":"dataModelId","schema":{"type":"string","description":"Unique identifier of the data model.","title":"Data model ID"},"in":"path","required":true},{"name":"elementId","schema":{"type":"string","description":"Unique identifier of the data model element.","title":"Element ID"},"in":"path","required":true},{"name":"page","schema":{"type":"string","description":"Use to specify further pages using the string returned in the nextPage portion of the response.","title":"Page"},"in":"query"},{"name":"limit","schema":{"type":"number","description":"Number of results to return per page, with a maximum of 1,000 per request. Use the `page` option in subsequent requests to retrieve the next set of results.","title":"Limit"},"in":"query"}],"operationId":"listDataModelElementColumnSecurityRules","responses":{"200":{"description":"The response body.","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["entries","nextPage"],"properties":{"entries":{"type":"array","items":{"type":"object","required":["columnSecurityRuleId","columns","criteria"],"properties":{"columnSecurityRuleId":{"type":"string","description":"The identifier of the column security rule."},"columns":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"string","enum":["all"]}],"description":"The columns restricted by the column security rule, represented as either a list of column identifiers or `all`. The `all` value includes every current and future column in the element."},"criteria":{"oneOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["no-one-can-view"]}},"title":"No One Can View"},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["specific-users-and-teams"]},"assignments":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","userId"],"properties":{"type":{"type":"string","enum":["user"]},"userId":{"type":"string","description":"The identifier of a Sigma user."}},"title":"User"},{"type":"object","required":["type","teamId"],"properties":{"type":{"type":"string","enum":["team"]},"teamId":{"type":"string","description":"The identifier of a team."}},"title":"Team"}]},"description":"The identifiers of the users and teams that can access the columns restricted by the column security rule."}},"title":"Specific Users and Teams"},{"type":"object","required":["kind","assignments"],"properties":{"kind":{"type":"string","enum":["user-attribute"]},"assignments":{"type":"array","items":{"type":"object","required":["userAttributeId","value"],"properties":{"userAttributeId":{"type":"string","description":"The identifier of a user attribute."},"value":{"type":"string","description":"The value for a user attribute."}}},"description":"The identifier of a user attribute and the value users must be assigned to view the columns restricted by the column security rule."}},"title":"User Attribute"}]}}},"description":"Array of results returned by the endpoint"},"nextPage":{"type":["string","null"],"description":"Returns a string that can be used as the `page` parameter in the next request to fetch the next page of results. The last page of results returns `null`."}}},{"type":"object","properties":{"total":{"type":"number