mirror of
https://github.com/apache/superset.git
synced 2026-08-04 21:12:44 +00:00
48 lines
1.3 KiB
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"
|
|
}
|