# CaseStyle
"CaseStyle": {
"Style": Style,
"Options": [
OptionA,
OptionB,
...
]
}
# Description:
This property is for configuring different case styles for the output string.
# Fields:
# Field: Style
# Type: Enum
# Values options:
LowercaseAllCast all characters to lowercase
i.e.
Before: Fantasy Lord of the Rings 1954 After: fantasy lord of the rings 1954Supported Options:
Culture
UppercaseAllUppercase all characters
Before: 100 books found in the list After: 100 BOOKS FOUND IN THE LISTSupported Options:
Culture
UppercaseFirstWordUppercase the first word
Before: fantasy lord of the rings 1954 After: Fantasy lord of the rings 1954Supported Options:
TreatCharsAsSpaceTreatNumbersAsSpace
TitleCaseEnAuUppercase each word
Before: 100 books found in the list After: 100 Books Found In The ListSupported Options:
ExceptionsTreatCharsAsSpaceTreatNumbersAsSpace
NoChangesRemain original cases
Before: Fantasy Lord of the Rings 1954 After: Fantasy Lord of the Rings 1954Supported Options:
- NA
# Field: Options
# Type: CaseStyleOption[]
# Description:
See: CaseStyleOption
# Remarks
When config CaseStyle property on DefaultFacetFormattingRule and FacetFormattingRules, it will only affect the (value) section of (format).
"ShowerToiletType": {
"Format": "WITH A (value) SHOWER TOILET TYPE",
"CaseStyle": {
"Style": "LowercaseAll"
}
}
If value = MEDIUM, the final output will be:
WITH A medium SHOWER TOILET TYPE
However, when specifying it on MetadataOptions, it will work on the whole sentence.
