# 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:
  • LowercaseAll

    Cast all characters to lowercase

    i.e.

    Before: Fantasy Lord of the Rings 1954
    After: fantasy lord of the rings 1954
    

    Supported Options:

    • Culture
  • UppercaseAll

    Uppercase all characters

    Before: 100 books found in the list
    After: 100 BOOKS FOUND IN THE LIST
    

    Supported Options:

    • Culture
  • UppercaseFirstWord

    Uppercase the first word

    Before: fantasy lord of the rings 1954
    After: Fantasy lord of the rings 1954
    

    Supported Options:

    • TreatCharsAsSpace
    • TreatNumbersAsSpace
  • TitleCaseEnAu

    Uppercase each word

    Before: 100 books found in the list
    After: 100 Books Found In The List
    

    Supported Options:

    • Exceptions
    • TreatCharsAsSpace
    • TreatNumbersAsSpace
  • NoChanges

    Remain original cases

    Before: Fantasy Lord of the Rings 1954
    After: Fantasy Lord of the Rings 1954
    

    Supported 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.