Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/schemas/chartdataselectoptionsschema.Schema.json
2026-07-28 21:39:01 +07:00

28 lines
934 B
JSON

{
"schema": {
"properties": {
"columns": {
"description": "Columns which to select from the input data, in the desired order. If columns are renamed, the original column name should be referenced here.",
"example": ["country", "gender", "age"],
"items": { "type": "string" },
"type": "array"
},
"exclude": {
"description": "Columns to exclude from selection.",
"example": ["my_temp_column"],
"items": { "type": "string" },
"type": "array"
},
"rename": {
"description": "columns which to rename, mapping source column to target column. For instance, `{'y': 'y2'}` will rename the column `y` to `y2`.",
"example": [{ "age": "average_age" }],
"items": { "type": "object" },
"type": "array"
}
},
"type": "object",
"title": "ChartDataSelectOptionsSchema"
},
"schemaType": "response"
}