Skip to content

Json Schema display

李通洲 edited this page Oct 11, 2025 · 1 revision

4. Property JSON config > display

Type object
Required No
Additional properties Not allowed

Description: Configure how things should be displayed

Property Pattern Type Deprecated Definition Title/Description
- stat No Combination No - Show time usage (in ms) for individual modules with optional threshold
- pipe No boolean No - Whether to disable colors (auto-detected based on isatty(1) by default)
- showErrors No boolean No - Print occurring errors to the console. False to ignore errored modules
- disableLinewrap No boolean No - Whether to disable line wrap during execution
- hideCursor No boolean No - Whether to hide the cursor during execution
- separator No string No - Set the separator between key and value
- color No Combination No - Set the color of the keys and title
- brightColor No boolean No - Set if the keys, title and ASCII logo should be printed in bright color
- key No object No - Set how module keys should be displayed
- size No object No - Set how size values should be displayed
- temp No object No - Set how temperature values should be displayed
- bar No object No - Set the bar configuration
- percent No object No - Set how percentage values should be displayed
- freq No object No - Set how frequency values should be displayed
- duration No object No - Set how duration values should be displayed
- fraction No object No - Set how ordinary fraction numbers should be displayed
- noBuffer No boolean No - Whether to disable the stdout application buffer
- constants No array of string No - List of strings to be used in custom format of modules

4.1. Property JSON config > display > stat

Type combining
Required No
Additional properties Any type allowed

Description: Show time usage (in ms) for individual modules with optional threshold

One of(Option)
item 0
item 1

4.1.1. Property JSON config > display > stat > oneOf > item 0

Type boolean
Required No
Default false

4.1.2. Property JSON config > display > stat > oneOf > item 1

Type integer
Required No
Restrictions
Minimum ≥ 1

4.2. Property JSON config > display > pipe

Type boolean
Required No
Default false

Description: Whether to disable colors (auto-detected based on isatty(1) by default)

4.3. Property JSON config > display > showErrors

Type boolean
Required No
Default false

Description: Print occurring errors to the console. False to ignore errored modules

4.4. Property JSON config > display > disableLinewrap

Type boolean
Required No
Default true

Description: Whether to disable line wrap during execution

4.5. Property JSON config > display > hideCursor

Type boolean
Required No
Default true

Description: Whether to hide the cursor during execution

4.6. Property JSON config > display > separator

Type string
Required No
Default ": "

Description: Set the separator between key and value

4.7. Property JSON config > display > color

Type combining
Required No
Additional properties Any type allowed

Description: Set the color of the keys and title

One of(Option)
colors
item 1

4.7.1. Property JSON config > display > color > oneOf > colors

Type combining
Required No
Additional properties Any type allowed
Same definition as 1

Description: Set both the colors of keys and title

4.7.2. Property JSON config > display > color > oneOf > item 1

Type object
Required No
Additional properties Not allowed
Property Pattern Type Deprecated Definition Title/Description
- keys No object No Same as 1 Set the color of the keys
- title No object No Same as 1 Set the color of the title
- output No object No Same as 1 Set the color of the module output
- separator No object No Same as 1 Set the color of the key-value separator
4.7.2.1. Property JSON config > display > color > oneOf > item 1 > keys
Type combining
Required No
Additional properties Any type allowed
Same definition as 1

Description: Set the color of the keys

4.7.2.2. Property JSON config > display > color > oneOf > item 1 > title
Type combining
Required No
Additional properties Any type allowed
Same definition as 1

Description: Set the color of the title

4.7.2.3. Property JSON config > display > color > oneOf > item 1 > output
Type combining
Required No
Additional properties Any type allowed
Same definition as 1

Description: Set the color of the module output

4.7.2.4. Property JSON config > display > color > oneOf > item 1 > separator
Type combining
Required No
Additional properties Any type allowed
Same definition as 1

Description: Set the color of the key-value separator

4.8. Property JSON config > display > brightColor

Type boolean
Required No
Default true

Description: Set if the keys, title and ASCII logo should be printed in bright color

4.9. Property JSON config > display > key

Type object
Required No
Additional properties Not allowed

Description: Set how module keys should be displayed

Property Pattern Type Deprecated Definition Title/Description
- width No integer No - Align the width of keys to number of characters, 0 to disable
- type No Combination No - Set whether to show icon before string keys
- paddingLeft No integer No - Set the left padding of keys

4.9.1. Property JSON config > display > key > width

Type integer
Required No
Default 0

Description: Align the width of keys to number of characters, 0 to disable

Restrictions
Minimum ≥ 0

4.9.2. Property JSON config > display > key > type

Type combining
Required No
Default "string"

Description: Set whether to show icon before string keys

One of(Option)
item 0
item 1
item 2
item 3
4.9.2.1. Property JSON config > display > key > type > oneOf > item 0
Type const
Required No

Description: Disable keys

Specific value: "none"

4.9.2.2. Property JSON config > display > key > type > oneOf > item 1
Type const
Required No

Description: Show string keys

Specific value: "string"

4.9.2.3. Property JSON config > display > key > type > oneOf > item 2
Type const
Required No

Description: Show icon keys (requires newest nerd font)

Specific value: "icon"

4.9.2.4. Property JSON config > display > key > type > oneOf > item 3
Type const
Required No

Description: Show both icon and string keys

Specific value: "both"

4.9.3. Property JSON config > display > key > paddingLeft

Type integer
Required No
Default 0

Description: Set the left padding of keys

Restrictions
Minimum ≥ 0

4.10. Property JSON config > display > size

Type object
Required No
Additional properties Not allowed

Description: Set how size values should be displayed

Property Pattern Type Deprecated Definition Title/Description
- binaryPrefix No Combination No - Set the binary prefix to use when formatting sizes
- maxPrefix No enum (of string) No - Set the largest binary prefix to use when formatting sizes
- ndigits No integer No - Set the number of digits to keep after the decimal point when formatting sizes
- spaceBeforeUnit No string No In #/$defs/spaceBeforeUnit Whether to put a space before the unit

4.10.1. Property JSON config > display > size > binaryPrefix

Type combining
Required No
Default "iec"

Description: Set the binary prefix to use when formatting sizes

One of(Option)
item 0
item 1
item 2
4.10.1.1. Property JSON config > display > size > binaryPrefix > oneOf > item 0
Type const
Required No

Description: 1024 Bytes = 1 KiB, 1024 KiB = 1 MiB, ... (standard)

Specific value: "iec"

4.10.1.2. Property JSON config > display > size > binaryPrefix > oneOf > item 1
Type const
Required No

Description: 1000 Bytes = 1 kB, 1000 kB = 1 MB, ...

Specific value: "si"

4.10.1.3. Property JSON config > display > size > binaryPrefix > oneOf > item 2
Type const
Required No

Description: 1024 Bytes = 1 KB, 1024 KB = 1 MB, ...

Specific value: "jedec"

4.10.2. Property JSON config > display > size > maxPrefix

Type enum (of string)
Required No
Default "YB"

Description: Set the largest binary prefix to use when formatting sizes

Must be one of:

  • "B"
  • "kB"
  • "MB"
  • "GB"
  • "TB"
  • "PB"
  • "EB"
  • "ZB"
  • "YB"

4.10.3. Property JSON config > display > size > ndigits

Type integer
Required No
Default 2

Description: Set the number of digits to keep after the decimal point when formatting sizes

Restrictions
Minimum ≥ 0
Maximum ≤ 9

4.10.4. Property JSON config > display > size > spaceBeforeUnit

Type combining
Required No
Defined in #/$defs/spaceBeforeUnit

Description: Whether to put a space before the unit

One of(Option)
item 0
item 1
item 2
4.10.4.1. Property JSON config > display > size > spaceBeforeUnit > oneOf > item 0
Type const
Required No

Description: Use the default behavior of the module

Specific value: "default"

4.10.4.2. Property JSON config > display > size > spaceBeforeUnit > oneOf > item 1
Type const
Required No

Description: Always add a space before the unit

Specific value: "always"

4.10.4.3. Property JSON config > display > size > spaceBeforeUnit > oneOf > item 2
Type const
Required No

Description: Never add a space before the unit

Specific value: "never"

4.11. Property JSON config > display > temp

Type object
Required No
Additional properties Not allowed

Description: Set how temperature values should be displayed

Property Pattern Type Deprecated Definition Title/Description
- unit No Combination No - Set the unit of temperature
- ndigits No integer No - Set the number of digits to keep after the decimal point when formatting temperature values
- color No object No - Set colors used in different states of temperature values
- spaceBeforeUnit No string No Same as spaceBeforeUnit Whether to put a space before the unit

4.11.1. Property JSON config > display > temp > unit

Type combining
Required No
Default "D"

Description: Set the unit of temperature

One of(Option)
item 0
item 1
item 2
item 3
4.11.1.1. Property JSON config > display > temp > unit > oneOf > item 0
Type const
Required No

Description: Celsius

Specific value: "C"

4.11.1.2. Property JSON config > display > temp > unit > oneOf > item 1
Type const
Required No

Description: Fahrenheit

Specific value: "F"

4.11.1.3. Property JSON config > display > temp > unit > oneOf > item 2
Type const
Required No

Description: Kelvin

Specific value: "K"

4.11.1.4. Property JSON config > display > temp > unit > oneOf > item 3
Type const
Required No

Description: Default (alias for Celsius)

Specific value: "D"

4.11.2. Property JSON config > display > temp > ndigits

Type integer
Required No
Default 1

Description: Set the number of digits to keep after the decimal point when formatting temperature values

Restrictions
Minimum ≥ 0
Maximum ≤ 9

4.11.3. Property JSON config > display > temp > color

Type object
Required No
Additional properties Not allowed

Description: Set colors used in different states of temperature values

Property Pattern Type Deprecated Definition Title/Description
- green No object No In #/$defs/colors Color used in green state
- yellow No object No In #/$defs/colors Color used in yellow state
- red No object No In #/$defs/colors Color used in red state
4.11.3.1. Property JSON config > display > temp > color > green
Type combining
Required No
Additional properties Any type allowed
Default "green"
Defined in #/$defs/colors

Description: Color used in green state

One of(Option)
item 0
item 1
4.11.3.1.1. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 0
Type string
Required No

Examples:

"reset_"
"bright_"
"dim_"
"italic_"
"underline_"
"blink_"
"inverse_"
"hidden_"
"strike_"
"light_"
"black"
"red"
"green"
"yellow"
"blue"
"magenta"
"cyan"
"white"
"default"
4.11.3.1.2. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 1
Type null
Required No
4.11.3.2. Property JSON config > display > temp > color > yellow
Type combining
Required No
Additional properties Any type allowed
Default "light_yellow"
Defined in #/$defs/colors

Description: Color used in yellow state

One of(Option)
item 0
item 1
4.11.3.2.1. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 0
Type string
Required No

Examples:

"reset_"
"bright_"
"dim_"
"italic_"
"underline_"
"blink_"
"inverse_"
"hidden_"
"strike_"
"light_"
"black"
"red"
"green"
"yellow"
"blue"
"magenta"
"cyan"
"white"
"default"
4.11.3.2.2. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 1
Type null
Required No
4.11.3.3. Property JSON config > display > temp > color > red
Type combining
Required No
Additional properties Any type allowed
Default "light_red"
Defined in #/$defs/colors

Description: Color used in red state

One of(Option)
item 0
item 1
4.11.3.3.1. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 0
Type string
Required No

Examples:

"reset_"
"bright_"
"dim_"
"italic_"
"underline_"
"blink_"
"inverse_"
"hidden_"
"strike_"
"light_"
"black"
"red"
"green"
"yellow"
"blue"
"magenta"
"cyan"
"white"
"default"
4.11.3.3.2. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 1
Type null
Required No

4.11.4. Property JSON config > display > temp > spaceBeforeUnit

Type combining
Required No
Same definition as spaceBeforeUnit

Description: Whether to put a space before the unit

4.12. Property JSON config > display > bar

Type object
Required No
Additional properties Not allowed

Description: Set the bar configuration

Property Pattern Type Deprecated Definition Title/Description
- char No object No - Set the characters used in the bar
- border No Combination No - -
- color No Combination No - -
- width No integer No - Set the width of the bar, in number of characters

4.12.1. Property JSON config > display > bar > char

Type object
Required No
Additional properties Not allowed

Description: Set the characters used in the bar

Property Pattern Type Deprecated Definition Title/Description
- elapsed No string No - Set the character to use in elapsed part
- total No string No - Set the character to use in total part
4.12.1.1. Property JSON config > display > bar > char > elapsed
Type string
Required No
Default "■"

Description: Set the character to use in elapsed part

4.12.1.2. Property JSON config > display > bar > char > total
Type string
Required No
Default "-"

Description: Set the character to use in total part

4.12.2. Property JSON config > display > bar > border

Type combining
Required No
Additional properties Any type allowed
One of(Option)
item 0
item 1
4.12.2.1. Property JSON config > display > bar > border > oneOf > item 0
Type null
Required No

Description: Disable bar borders

4.12.2.2. Property JSON config > display > bar > border > oneOf > item 1
Type object
Required No
Additional properties Not allowed

Description: Set the string to use of borders of percentage bars

Property Pattern Type Deprecated Definition Title/Description
- left No string No - Set the string to use at left border
- right No string No - Set the string to use at right border
- leftElapsed No string No - If both leftElapsed and rightElapsed are set, the border will be used as parts of bar content
- rightElapsed No string No - If both leftElapsed and rightElapsed are set, the border will be used as parts of bar content
4.12.2.2.1. Property JSON config > display > bar > border > oneOf > item 1 > left
Type string
Required No
Default "[ "

Description: Set the string to use at left border

4.12.2.2.2. Property JSON config > display > bar > border > oneOf > item 1 > right
Type string
Required No
Default " ]"

Description: Set the string to use at right border

4.12.2.2.3. Property JSON config > display > bar > border > oneOf > item 1 > leftElapsed
Type string
Required No
Default ""

Description: If both leftElapsed and rightElapsed are set, the border will be used as parts of bar content

4.12.2.2.4. Property JSON config > display > bar > border > oneOf > item 1 > rightElapsed
Type string
Required No
Default ""

Description: If both leftElapsed and rightElapsed are set, the border will be used as parts of bar content

4.12.3. Property JSON config > display > bar > color

Type combining
Required No
Additional properties Any type allowed
One of(Option)
item 0
item 1
4.12.3.1. Property JSON config > display > bar > color > oneOf > item 0
Type null
Required No

Description: Disable color in percentage bars

4.12.3.2. Property JSON config > display > bar > color > oneOf > item 1
Type object
Required No
Additional properties Not allowed

Description: Set the color to use of percentage bars

Property Pattern Type Deprecated Definition Title/Description
- elapsed No object No In #/$defs/colors Color to use in the elapsed part of percentage bars
By default, auto selected by percent.color.{green,yellow,red}
- total No object No In #/$defs/colors Color to use in the total part of percentage bars
- border No object No In #/$defs/colors Color to use in the borders of percentage bars
4.12.3.2.1. Property JSON config > display > bar > color > oneOf > item 1 > elapsed
Type combining
Required No
Additional properties Any type allowed
Default "auto"
Defined in #/$defs/colors

Description: Color to use in the elapsed part of percentage bars By default, auto selected by percent.color.{green,yellow,red}

One of(Option)
item 0
item 1
4.12.3.2.1.1. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 0
Type string
Required No

Examples:

"reset_"
"bright_"
"dim_"
"italic_"
"underline_"
"blink_"
"inverse_"
"hidden_"
"strike_"
"light_"
"black"
"red"
"green"
"yellow"
"blue"
"magenta"
"cyan"
"white"
"default"
4.12.3.2.1.2. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 1
Type null
Required No
4.12.3.2.2. Property JSON config > display > bar > color > oneOf > item 1 > total
Type combining
Required No
Additional properties Any type allowed
Default "light_white"
Defined in #/$defs/colors

Description: Color to use in the total part of percentage bars

One of(Option)
item 0
item 1
4.12.3.2.2.1. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 0
Type string
Required No

Examples:

"reset_"
"bright_"
"dim_"
"italic_"
"underline_"
"blink_"
"inverse_"
"hidden_"
"strike_"
"light_"
"black"
"red"
"green"
"yellow"
"blue"
"magenta"
"cyan"
"white"
"default"
4.12.3.2.2.2. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 1
Type null
Required No
4.12.3.2.3. Property JSON config > display > bar > color > oneOf > item 1 > border
Type combining
Required No
Additional properties Any type allowed
Default "light_white"
Defined in #/$defs/colors

Description: Color to use in the borders of percentage bars

One of(Option)
item 0
item 1
4.12.3.2.3.1. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 0
Type string
Required No

Examples:

"reset_"
"bright_"
"dim_"
"italic_"
"underline_"
"blink_"
"inverse_"
"hidden_"
"strike_"
"light_"
"black"
"red"
"green"
"yellow"
"blue"
"magenta"
"cyan"
"white"
"default"
4.12.3.2.3.2. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 1
Type null
Required No

4.12.4. Property JSON config > display > bar > width

Type integer
Required No
Default 10

Description: Set the width of the bar, in number of characters

Restrictions
Minimum ≥ 1

4.13. Property JSON config > display > percent

Type object
Required No
Additional properties Not allowed

Description: Set how percentage values should be displayed

Property Pattern Type Deprecated Definition Title/Description
- type No object No In #/$defs/percentType Set the percentage output type
- ndigits No number No - Set the number of digits to keep after the decimal point when formatting percentage numbers
- color No object No - Set colors used in different states of percentage bars and numbers
- spaceBeforeUnit No string No Same as spaceBeforeUnit Whether to put a space before the unit
- width No integer No - Set the width of the percentage number, in number of characters

4.13.1. Property JSON config > display > percent > type

Type combining
Required No
Additional properties Any type allowed
Defined in #/$defs/percentType

Description: Set the percentage output type

One of(Option)
item 0
item 1
4.13.1.1. Property JSON config > display > percent > type > oneOf > item 0
Type number
Required No
Default 9

Description: 0 to use global setting, 1 for percentage number, 2 for multi-color bar, 3 for both, 6 for bar only, 9 for colored number, 10 for monochrome bar

Restrictions
Minimum ≥ 0
Maximum ≤ 255
4.13.1.2. Property JSON config > display > percent > type > oneOf > item 1
Type array of enum (of string)
Required No
Default ["num", "num-color"]

Description: Array of string flags

Array restrictions
Min items N/A
Max items N/A
Items unicity True
Additional items False
Tuple validation See below
Each item of this array must be Description
item 1 items -
4.13.1.2.1. JSON config > display > percent > type > oneOf > item 1 > item 1 items
Type enum (of string)
Required No

Must be one of:

  • "num"
  • "bar"
  • "hide-others"
  • "num-color"
  • "bar-monochrome"

4.13.2. Property JSON config > display > percent > ndigits

Type number
Required No
Default 0

Description: Set the number of digits to keep after the decimal point when formatting percentage numbers

Restrictions
Minimum ≥ 0
Maximum ≤ 9

4.13.3. Property JSON config > display > percent > color

Type object
Required No
Additional properties Not allowed

Description: Set colors used in different states of percentage bars and numbers

Property Pattern Type Deprecated Definition Title/Description
- green No object No In #/$defs/colors Color used in green state
- yellow No object No In #/$defs/colors Color used in yellow state
- red No object No In #/$defs/colors Color used in red state
4.13.3.1. Property JSON config > display > percent > color > green
Type combining
Required No
Additional properties Any type allowed
Default "green"
Defined in #/$defs/colors

Description: Color used in green state

One of(Option)
item 0
item 1
4.13.3.1.1. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 0
Type string
Required No

Examples:

"reset_"
"bright_"
"dim_"
"italic_"
"underline_"
"blink_"
"inverse_"
"hidden_"
"strike_"
"light_"
"black"
"red"
"green"
"yellow"
"blue"
"magenta"
"cyan"
"white"
"default"
4.13.3.1.2. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 1
Type null
Required No
4.13.3.2. Property JSON config > display > percent > color > yellow
Type combining
Required No
Additional properties Any type allowed
Default "light_yellow"
Defined in #/$defs/colors

Description: Color used in yellow state

One of(Option)
item 0
item 1
4.13.3.2.1. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 0
Type string
Required No

Examples:

"reset_"
"bright_"
"dim_"
"italic_"
"underline_"
"blink_"
"inverse_"
"hidden_"
"strike_"
"light_"
"black"
"red"
"green"
"yellow"
"blue"
"magenta"
"cyan"
"white"
"default"
4.13.3.2.2. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 1
Type null
Required No
4.13.3.3. Property JSON config > display > percent > color > red
Type combining
Required No
Additional properties Any type allowed
Default "light_red"
Defined in #/$defs/colors

Description: Color used in red state

One of(Option)
item 0
item 1
4.13.3.3.1. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 0
Type string
Required No

Examples:

"reset_"
"bright_"
"dim_"
"italic_"
"underline_"
"blink_"
"inverse_"
"hidden_"
"strike_"
"light_"
"black"
"red"
"green"
"yellow"
"blue"
"magenta"
"cyan"
"white"
"default"
4.13.3.3.2. Property JSON config > logo > oneOf > item 2 > color > 1 > oneOf > item 1
Type null
Required No

4.13.4. Property JSON config > display > percent > spaceBeforeUnit

Type combining
Required No
Same definition as spaceBeforeUnit

Description: Whether to put a space before the unit

4.13.5. Property JSON config > display > percent > width

Type integer
Required No
Default 0

Description: Set the width of the percentage number, in number of characters

Restrictions
Minimum ≥ 0

4.14. Property JSON config > display > freq

Type object
Required No
Additional properties Not allowed

Description: Set how frequency values should be displayed

Property Pattern Type Deprecated Definition Title/Description
- ndigits No Combination No - Set the number of decimal places to display when formatting frequency values
- spaceBeforeUnit No string No Same as spaceBeforeUnit Whether to put a space before the unit

4.14.1. Property JSON config > display > freq > ndigits

Type combining
Required No
Additional properties Any type allowed
Default 2

Description: Set the number of decimal places to display when formatting frequency values

One of(Option)
item 0
item 1
4.14.1.1. Property JSON config > display > freq > ndigits > oneOf > item 0
Type integer
Required No

Description: Integer value displays the frequency in GHz with specified decimal places

Restrictions
Minimum ≥ 0
Maximum ≤ 9
4.14.1.2. Property JSON config > display > freq > ndigits > oneOf > item 1
Type null
Required No

Description: Null value display the frequency as integer MHz

4.14.2. Property JSON config > display > freq > spaceBeforeUnit

Type combining
Required No
Same definition as spaceBeforeUnit

Description: Whether to put a space before the unit

4.15. Property JSON config > display > duration

Type object
Required No
Additional properties Any type allowed

Description: Set how duration values should be displayed

Property Pattern Type Deprecated Definition Title/Description
- abbreviation No boolean No - Set whether to abbreviate duration values
If true, the output will be in the form of "1h 2m" instead of "1 hour, 2 mins"
- spaceBeforeUnit No string No Same as spaceBeforeUnit Whether to put a space before the unit

4.15.1. Property JSON config > display > duration > abbreviation

Type boolean
Required No
Default false

Description: Set whether to abbreviate duration values If true, the output will be in the form of "1h 2m" instead of "1 hour, 2 mins"

4.15.2. Property JSON config > display > duration > spaceBeforeUnit

Type combining
Required No
Same definition as spaceBeforeUnit

Description: Whether to put a space before the unit

4.16. Property JSON config > display > fraction

Type object
Required No
Additional properties Not allowed

Description: Set how ordinary fraction numbers should be displayed

Property Pattern Type Deprecated Definition Title/Description
- ndigits No Combination No - -
- trailingZeros No Combination No - Set when to keep trailing zeros

4.16.1. Property JSON config > display > fraction > ndigits

Type combining
Required No
Additional properties Any type allowed
Default 2
One of(Option)
item 0
item 1
4.16.1.1. Property JSON config > display > fraction > ndigits > oneOf > item 0
Type number
Required No

Description: Set the number of digits to keep after the decimal point when formatting ordinary fraction numbers

Restrictions
Minimum ≥ 0
Maximum ≤ 9
4.16.1.2. Property JSON config > display > fraction > ndigits > oneOf > item 1
Type null
Required No

Description: The number of digits will be automatically determined based on the value

4.16.2. Property JSON config > display > fraction > trailingZeros

Type combining
Required No
Additional properties Any type allowed
Default null

Description: Set when to keep trailing zeros

One of(Option)
item 0
item 1
item 2
item 3
4.16.2.1. Property JSON config > display > fraction > trailingZeros > oneOf > item 0
Type null
Required No

Description: Same as default

4.16.2.2. Property JSON config > display > fraction > trailingZeros > oneOf > item 1
Type const
Required No

Description: Use the behavior defined internally

Specific value: "default"

4.16.2.3. Property JSON config > display > fraction > trailingZeros > oneOf > item 2
Type const
Required No

Description: Always keep trailing zeros

Specific value: "always"

4.16.2.4. Property JSON config > display > fraction > trailingZeros > oneOf > item 3
Type const
Required No

Description: Never keep trailing zeros

Specific value: "never"

4.17. Property JSON config > display > noBuffer

Type boolean
Required No
Default false

Description: Whether to disable the stdout application buffer

4.18. Property JSON config > display > constants

Type array of string
Required No

Description: List of strings to be used in custom format of modules

Array restrictions
Min items N/A
Max items N/A
Items unicity False
Additional items False
Tuple validation See below
Each item of this array must be Description
constants items -

4.18.1. JSON config > display > constants > constants items

Type string
Required No
Clone this wiki locally