- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 604
Json Schema display
- 
4. Property JSON config > display- 
4.1. Property JSON config > display > stat
- 4.2. Property JSON config > display > pipe
- 4.3. Property JSON config > display > showErrors
- 4.4. Property JSON config > display > disableLinewrap
- 4.5. Property JSON config > display > hideCursor
- 4.6. Property JSON config > display > separator
- 
4.7. Property JSON config > display > color
- 4.8. Property JSON config > display > brightColor
- 
4.9. Property JSON config > display > key
- 
4.10. Property JSON config > display > size
- 
4.11. Property JSON config > display > temp- 
4.11.1. Property JSON config > display > temp > unit
- 4.11.2. Property JSON config > display > temp > ndigits
- 
4.11.3. Property JSON config > display > temp > color
- 4.11.4. Property JSON config > display > temp > spaceBeforeUnit
 
- 
4.11.1. Property 
- 
4.12. Property JSON config > display > bar- 
4.12.1. Property JSON config > display > bar > char
- 
4.12.2. Property JSON config > display > bar > border- 4.12.2.1. Property JSON config > display > bar > border > oneOf > item 0
- 
4.12.2.2. Property JSON config > display > bar > border > oneOf > item 1- 4.12.2.2.1. Property JSON config > display > bar > border > oneOf > item 1 > left
- 4.12.2.2.2. Property JSON config > display > bar > border > oneOf > item 1 > right
- 4.12.2.2.3. Property JSON config > display > bar > border > oneOf > item 1 > leftElapsed
- 4.12.2.2.4. Property JSON config > display > bar > border > oneOf > item 1 > rightElapsed
 
- 4.12.2.2.1. Property 
 
- 4.12.2.1. Property 
- 
4.12.3. Property JSON config > display > bar > color- 4.12.3.1. Property JSON config > display > bar > color > oneOf > item 0
- 
4.12.3.2. Property JSON config > display > bar > color > oneOf > item 1
 
- 4.12.3.1. Property 
- 4.12.4. Property JSON config > display > bar > width
 
- 
4.12.1. Property 
- 
4.13. Property JSON config > display > percent- 
4.13.1. Property JSON config > display > percent > type
- 4.13.2. Property JSON config > display > percent > ndigits
- 
4.13.3. Property JSON config > display > percent > color
- 4.13.4. Property JSON config > display > percent > spaceBeforeUnit
- 4.13.5. Property JSON config > display > percent > width
 
- 
4.13.1. Property 
- 
4.14. Property JSON config > display > freq
- 
4.15. Property JSON config > display > duration
- 
4.16. Property JSON config > display > fraction- 
4.16.1. Property JSON config > display > fraction > ndigits
- 
4.16.2. Property JSON config > display > fraction > trailingZeros- 4.16.2.1. Property JSON config > display > fraction > trailingZeros > oneOf > item 0
- 4.16.2.2. Property JSON config > display > fraction > trailingZeros > oneOf > item 1
- 4.16.2.3. Property JSON config > display > fraction > trailingZeros > oneOf > item 2
- 4.16.2.4. Property JSON config > display > fraction > trailingZeros > oneOf > item 3
 
- 4.16.2.1. Property 
 
- 
4.16.1. Property 
- 4.17. Property JSON config > display > noBuffer
- 
4.18. Property JSON config > display > constants
 
- 
4.1. Property 
| 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 | 
| 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 | 
| Type | boolean | 
| Required | No | 
| Default | false | 
| Type | integer | 
| Required | No | 
| Restrictions | |
|---|---|
| Minimum | ≥ 1 | 
| Type | boolean | 
| Required | No | 
| Default | false | 
Description: Whether to disable colors (auto-detected based on isatty(1) by default)
| Type | boolean | 
| Required | No | 
| Default | false | 
Description: Print occurring errors to the console. False to ignore errored modules
| Type | boolean | 
| Required | No | 
| Default | true | 
Description: Whether to disable line wrap during execution
| Type | boolean | 
| Required | No | 
| Default | true | 
Description: Whether to hide the cursor during execution
| Type | string | 
| Required | No | 
| Default | ": " | 
Description: Set the separator between key and value
| Type | combining | 
| Required | No | 
| Additional properties | Any type allowed | 
Description: Set the color of the keys and title
| One of(Option) | 
|---|
| colors | 
| item 1 | 
| Type | combining | 
| Required | No | 
| Additional properties | Any type allowed | 
| Same definition as | 1 | 
Description: Set both the colors of keys and title
| 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 | 
| Type | combining | 
| Required | No | 
| Additional properties | Any type allowed | 
| Same definition as | 1 | 
Description: Set the color of the keys
| Type | combining | 
| Required | No | 
| Additional properties | Any type allowed | 
| Same definition as | 1 | 
Description: Set the color of the title
| Type | combining | 
| Required | No | 
| Additional properties | Any type allowed | 
| Same definition as | 1 | 
Description: Set the color of the module output
| Type | combining | 
| Required | No | 
| Additional properties | Any type allowed | 
| Same definition as | 1 | 
Description: Set the color of the key-value separator
| Type | boolean | 
| Required | No | 
| Default | true | 
Description: Set if the keys, title and ASCII logo should be printed in bright color
| 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 | 
| Type | integer | 
| Required | No | 
| Default | 0 | 
Description: Align the width of keys to number of characters, 0 to disable
| Restrictions | |
|---|---|
| Minimum | ≥ 0 | 
| 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 | 
| Type | const | 
| Required | No | 
Description: Disable keys
Specific value: "none"
| Type | const | 
| Required | No | 
Description: Show string keys
Specific value: "string"
| Type | const | 
| Required | No | 
Description: Show icon keys (requires newest nerd font)
Specific value: "icon"
| Type | const | 
| Required | No | 
Description: Show both icon and string keys
Specific value: "both"
| Type | integer | 
| Required | No | 
| Default | 0 | 
Description: Set the left padding of keys
| Restrictions | |
|---|---|
| Minimum | ≥ 0 | 
| 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 | 
| 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 | 
| Type | const | 
| Required | No | 
Description: 1024 Bytes = 1 KiB, 1024 KiB = 1 MiB, ... (standard)
Specific value: "iec"
| Type | const | 
| Required | No | 
Description: 1000 Bytes = 1 kB, 1000 kB = 1 MB, ...
Specific value: "si"
| Type | const | 
| Required | No | 
Description: 1024 Bytes = 1 KB, 1024 KB = 1 MB, ...
Specific value: "jedec"
| 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"
| 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 | 
| 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 | 
| Type | const | 
| Required | No | 
Description: Use the default behavior of the module
Specific value: "default"
| Type | const | 
| Required | No | 
Description: Always add a space before the unit
Specific value: "always"
| Type | const | 
| Required | No | 
Description: Never add a space before the unit
Specific value: "never"
| 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 | 
| Type | combining | 
| Required | No | 
| Default | "D" | 
Description: Set the unit of temperature
| One of(Option) | 
|---|
| item 0 | 
| item 1 | 
| item 2 | 
| item 3 | 
| Type | const | 
| Required | No | 
Description: Celsius
Specific value: "C"
| Type | const | 
| Required | No | 
Description: Fahrenheit
Specific value: "F"
| Type | const | 
| Required | No | 
Description: Kelvin
Specific value: "K"
| Type | const | 
| Required | No | 
Description: Default (alias for Celsius)
Specific value: "D"
| 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 | 
| 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 | 
| 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 | 
| Type | string | 
| Required | No | 
Examples:
"reset_""bright_""dim_""italic_""underline_""blink_""inverse_""hidden_""strike_""light_""black""red""green""yellow""blue""magenta""cyan""white""default"| Type | null | 
| Required | No | 
| 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 | 
| Type | string | 
| Required | No | 
Examples:
"reset_""bright_""dim_""italic_""underline_""blink_""inverse_""hidden_""strike_""light_""black""red""green""yellow""blue""magenta""cyan""white""default"| Type | null | 
| Required | No | 
| 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 | 
| Type | string | 
| Required | No | 
Examples:
"reset_""bright_""dim_""italic_""underline_""blink_""inverse_""hidden_""strike_""light_""black""red""green""yellow""blue""magenta""cyan""white""default"| Type | null | 
| Required | No | 
| Type | combining | 
| Required | No | 
| Same definition as | spaceBeforeUnit | 
Description: Whether to put a space before the unit
| 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 | 
| 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 | 
| Type | string | 
| Required | No | 
| Default | "■" | 
Description: Set the character to use in elapsed part
| Type | string | 
| Required | No | 
| Default | "-" | 
Description: Set the character to use in total part
| Type | combining | 
| Required | No | 
| Additional properties | Any type allowed | 
| One of(Option) | 
|---|
| item 0 | 
| item 1 | 
| Type | null | 
| Required | No | 
Description: Disable bar borders
| 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 | 
| Type | string | 
| Required | No | 
| Default | "[ " | 
Description: Set the string to use at left border
| Type | string | 
| Required | No | 
| Default | " ]" | 
Description: Set the string to use at right border
| Type | string | 
| Required | No | 
| Default | "" | 
Description: If both leftElapsed and rightElapsed are set, the border will be used as parts of bar content
| Type | string | 
| Required | No | 
| Default | "" | 
Description: If both leftElapsed and rightElapsed are set, the border will be used as parts of bar content
| Type | combining | 
| Required | No | 
| Additional properties | Any type allowed | 
| One of(Option) | 
|---|
| item 0 | 
| item 1 | 
| Type | null | 
| Required | No | 
Description: Disable color in percentage bars
| 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 | 
| 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 | 
| Type | string | 
| Required | No | 
Examples:
"reset_""bright_""dim_""italic_""underline_""blink_""inverse_""hidden_""strike_""light_""black""red""green""yellow""blue""magenta""cyan""white""default"| Type | null | 
| Required | No | 
| 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 | 
| Type | string | 
| Required | No | 
Examples:
"reset_""bright_""dim_""italic_""underline_""blink_""inverse_""hidden_""strike_""light_""black""red""green""yellow""blue""magenta""cyan""white""default"| Type | null | 
| Required | No | 
| 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 | 
| Type | string | 
| Required | No | 
Examples:
"reset_""bright_""dim_""italic_""underline_""blink_""inverse_""hidden_""strike_""light_""black""red""green""yellow""blue""magenta""cyan""white""default"| Type | null | 
| Required | No | 
| Type | integer | 
| Required | No | 
| Default | 10 | 
Description: Set the width of the bar, in number of characters
| Restrictions | |
|---|---|
| Minimum | ≥ 1 | 
| 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 | 
| 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 | 
| 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 | 
| 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 | - | 
| Type | enum (of string) | 
| Required | No | 
Must be one of:
- "num"
- "bar"
- "hide-others"
- "num-color"
- "bar-monochrome"
| 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 | 
| 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 | 
| 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 | 
| Type | string | 
| Required | No | 
Examples:
"reset_""bright_""dim_""italic_""underline_""blink_""inverse_""hidden_""strike_""light_""black""red""green""yellow""blue""magenta""cyan""white""default"| Type | null | 
| Required | No | 
| 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 | 
| Type | string | 
| Required | No | 
Examples:
"reset_""bright_""dim_""italic_""underline_""blink_""inverse_""hidden_""strike_""light_""black""red""green""yellow""blue""magenta""cyan""white""default"| Type | null | 
| Required | No | 
| 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 | 
| Type | string | 
| Required | No | 
Examples:
"reset_""bright_""dim_""italic_""underline_""blink_""inverse_""hidden_""strike_""light_""black""red""green""yellow""blue""magenta""cyan""white""default"| Type | null | 
| Required | No | 
| Type | combining | 
| Required | No | 
| Same definition as | spaceBeforeUnit | 
Description: Whether to put a space before the unit
| Type | integer | 
| Required | No | 
| Default | 0 | 
Description: Set the width of the percentage number, in number of characters
| Restrictions | |
|---|---|
| Minimum | ≥ 0 | 
| 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 | 
| 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 | 
| Type | integer | 
| Required | No | 
Description: Integer value displays the frequency in GHz with specified decimal places
| Restrictions | |
|---|---|
| Minimum | ≥ 0 | 
| Maximum | ≤ 9 | 
| Type | null | 
| Required | No | 
Description: Null value display the frequency as integer MHz
| Type | combining | 
| Required | No | 
| Same definition as | spaceBeforeUnit | 
Description: Whether to put a space before the unit
| 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 | 
| 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"
| Type | combining | 
| Required | No | 
| Same definition as | spaceBeforeUnit | 
Description: Whether to put a space before the unit
| 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 | 
| Type | combining | 
| Required | No | 
| Additional properties | Any type allowed | 
| Default | 2 | 
| One of(Option) | 
|---|
| item 0 | 
| item 1 | 
| 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 | 
| Type | null | 
| Required | No | 
Description: The number of digits will be automatically determined based on the value
| 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 | 
| Type | null | 
| Required | No | 
Description: Same as default
| Type | const | 
| Required | No | 
Description: Use the behavior defined internally
Specific value: "default"
| Type | const | 
| Required | No | 
Description: Always keep trailing zeros
Specific value: "always"
| Type | const | 
| Required | No | 
Description: Never keep trailing zeros
Specific value: "never"
| Type | boolean | 
| Required | No | 
| Default | false | 
Description: Whether to disable the stdout application buffer
| 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 | - | 
| Type | string | 
| Required | No |