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

48 lines
1.3 KiB
JSON

{
"schema": {
"properties": {
"currency": {
"allOf": [
{
"properties": {
"symbol": { "maxLength": 128, "minLength": 1, "type": "string" },
"symbolPosition": {
"maxLength": 128,
"minLength": 1,
"type": "string"
}
},
"type": "object",
"title": "DatasetMetricCurrencyPut"
}
],
"nullable": true
},
"d3format": {
"maxLength": 128,
"minLength": 1,
"nullable": true,
"type": "string"
},
"description": { "nullable": true, "type": "string" },
"expression": { "type": "string" },
"extra": { "nullable": true, "type": "string" },
"id": { "type": "integer" },
"metric_name": { "maxLength": 255, "minLength": 1, "type": "string" },
"metric_type": {
"maxLength": 32,
"minLength": 1,
"nullable": true,
"type": "string"
},
"uuid": { "format": "uuid", "nullable": true, "type": "string" },
"verbose_name": { "nullable": true, "type": "string" },
"warning_text": { "nullable": true, "type": "string" }
},
"required": ["expression", "metric_name"],
"type": "object",
"title": "DatasetMetricsPut"
},
"schemaType": "response"
}