Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/schemas/chartdatapostprocessingoperation.Schema.json

54 lines
1.4 KiB
JSON

{
"schema": {
"properties": {
"operation": {
"description": "Post processing operation type",
"enum": [
"aggregate",
"boxplot",
"compare",
"contribution",
"cum",
"diff",
"escape_separator",
"flatten",
"geodetic_parse",
"geohash_decode",
"geohash_encode",
"histogram",
"pivot",
"prophet",
"rank",
"rename",
"resample",
"rolling",
"select",
"sort",
"unescape_separator"
],
"example": "aggregate",
"type": "string"
},
"options": {
"description": "Options specifying how to perform the operation. Please refer to the respective post processing operation option schemas. For example, `ChartDataPostProcessingOperationOptions` specifies the required options for the pivot operation.",
"example": {
"aggregates": {
"age_mean": { "column": "age", "operator": "mean" },
"age_q1": {
"column": "age",
"operator": "percentile",
"options": { "q": 0.25 }
}
},
"groupby": ["country", "gender"]
},
"type": "object"
}
},
"required": ["operation"],
"type": "object",
"title": "ChartDataPostProcessingOperation"
},
"schemaType": "response"
}