// flynt-disable boolean-field-name-prefix

syntax = "proto3";

package wix.rich_content.v1;

import "wix/rich_content/v1/common.proto";
import "google/protobuf/wrappers.proto";

message CollapsibleListData {
    enum InitialExpandedItems {
        FIRST = 0; // First item will be expended initally
        ALL = 1; // All items will expended initally
        NONE = 2; // All items collapsed initally
    }
    enum Direction {
        LTR = 0; // Left-to-right
        RTL = 1; // Right-to-left
    }
    PluginContainerData container_data = 1; // Styling for the collapsible list's container.
    google.protobuf.BoolValue expand_only_one = 2; // If `true`, only one item can be expanded at a time. Defaults to `false`.
    InitialExpandedItems initial_expanded_items = 3; // Sets which items are expanded when the page loads.
    Direction direction = 4; // The direction of the text in the list. Either left-to-right or right-to-left.
    google.protobuf.BoolValue is_qapage_data = 5; // If `true`, The collapsible item will appear in search results as an FAQ.
}
