{ "sections": [ "title", "description", "file_information", "directory_location", "fields", "sub_types", "wsdl_segment", "declarative_metadata_sample_definition" ], "title": "ChoiceList - Metadata API", "description": "Represents the Choicelist dropdown field that’s used for pre-chat.", "file_information": ".ChoiceList", "directory_location": "ChoiceList", "fields_columns": [ "type", "description", "required" ], "fields": { "choiceListValue": { "type": "ChoiceListValue[]", "description": "A list of choices to display in the choice list." }, "description": { "type": "string", "description": "A description of the choice list." }, "masterLabel": { "type": "string", "required": true, "description": "The label for the choice list." } }, "sub_types": { "ChoiceListValue": { "embeddedServiceCustomLabels": { "type": "EmbeddedServiceCustomLabel[]", "description": "Custom labels for the choicelist value." }, "isDefaultValue": { "type": "boolean", "required": true, "description": "Indicates whether the choicelist value should be selected by default." }, "order": { "type": "int", "required": true, "description": "The order of the choicelist value in the choicelist dropdown field." }, "valueName": { "type": "string", "required": true, "description": "The value of the choicelist." } } }, "wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n \n\n\n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n\n```", "declarative_metadata_sample_definition": [ { "description": "The following is an example of a Choicelist component.", "code": "\n\n \n \n EM_PreChat_ChoiceList_PrechatCustomFieldLabel_133xx0000004GG1_7741637\n EM_PreChat_ChoiceList_PrechatCustomFieldLabel\n EmbeddedMessaging\n \n true\n 0\n Pizza\n \n \n \n EM_PreChat_ChoiceList_PrechatCustomFieldLabel_133xx0000004GG2_5523047\n EM_PreChat_ChoiceList_PrechatCustomFieldLabel\n EmbeddedMessaging\n \n false\n 1\n Burger\n \n Food\n Food Choice List\n" } ] }