Skip to content

Commit ef6c337

Browse files
Vishrut2403Copilot
andauthored
Update doc/json_schema.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b91aa9a commit ef6c337

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

doc/json_schema.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,10 +1398,18 @@
13981398
"description": "Set global fallback values for display formatting",
13991399
"properties": {
14001400
"ndigits": {
1401-
"type": "integer",
1402-
"description": "Set the default number of digits to keep after the decimal point for all value types. Can be overridden per category (size, temp, percent, freq, fraction)",
1403-
"minimum": 0,
1404-
"maximum": 9
1401+
"oneOf": [
1402+
{
1403+
"type": "integer",
1404+
"description": "Set the default number of digits to keep after the decimal point for all value types. Can be overridden per category (size, temp, percent, freq, fraction)",
1405+
"minimum": 0,
1406+
"maximum": 9
1407+
},
1408+
{
1409+
"type": "null",
1410+
"description": "Use the normal fallback behavior instead of forcing a global default number of digits"
1411+
}
1412+
]
14051413
}
14061414
}
14071415
},

0 commit comments

Comments
 (0)