<?php

return [
    "type"           => "block",
    "model"          => App\Models\Block::class,
    "label"          => "Blocks",
    "label_singular" => "Block",
    "group"          => "content",
    "order"          => TRUE,
    "fields"         => [
        [
            "name"          => "title",
            "label"         => "Backend Title",
            "type"          => "textBox",
            "maxLength"     => 150,
            "multiLanguage" => TRUE,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation"    => "required|max:150",
            "inList"        => TRUE,
            "search"        => TRUE,
            "sort"          => TRUE
        ],
        [
            "name"          => "type",
            "label"         => "Block Type",
            "type"          => "selectBox",
            "list"          => [
                "blockWysiwyg"                      => "Editor",
                "blockImageTitleTextAndLink"        => "Image, Title, Text and Link",
                "blockClaim"                        => "Claim",
                "blockOpenPositionsLink"            => "Open Positions Link",
                "blockLatestProject"                => "Latest Project",
                "blockHighlight"                    => "Highlight",
                "blockOurSolutionsWithLink"         => "Our Services and Solutions (with Link)",
                "blockServiceColumns"               => "Services and Capabilities columns",
                "blockCapabilitiesHero"             => "Capabilities Hero",
                "blockOurValues"                    => "Our Values",
                "blockPartnerRelationships"         => "Partner Relationships (partner logo board)",
                "blockCapabilityDetailTop"          => "Capability Detail Top Title (with SVG selection)",
                "blockTitleAndTextInColumns"        => "Title and Text (Side by side)",
                "blockTitleAndTextInRows"           => "Title and Text (Top and bottom)",
                "blockServicesAndSolutions"         => "List of Services and Solutions",
                "blockBenefits"                     => "Benefits",
                "blockCase"                         => "Case",
                "blockNext"                         => "Next",
                "blockRelated"                      => "Related Services",
                "blockMeetUs"                       => "Meet us",
                "blockAccordion"                    => "Accordion with Key messages",
                "blockOpenPositionsList"            => "Open Positions List",
                "blockTeamMembersList"              => "Team Members List",
                "blockContactUsForm"                => "Contact Form",
                "blockGetEstimateForm"              => "Estimate Form",
                "blockMediaHero"                    => "Media Hero",
                "blockProjectIntroWithDeliverables" => "Project Intro (with deliverables)",
                "blockProjectDetails"               => "Project Detail",
                "blockSingleImageContainer"         => "Single Media",
                "blockMultipleImageContainer"       => "Multiple Images",
                "blockProjectsList"                 => "Projects List",
                "blockCaseContainer"                => "Block Case Container",
                "blockAuthor"                       => "Author (Blog Article)",
                "blockCodeSnippet"                  => "Code Snippet",
                "blockBlogArticlesList"             => "Blog Articles List"
            ],
            "defaultValue"  => "",
            "preValidation" => "trim",
            "validation"    => "required",
            "inList"        => TRUE
        ],
        [
            "name"          => "block_title",
            "label"         => "Title",
            "type"          => "textBox",
            "maxLength"     => 300,
            "multiLanguage" => TRUE,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation"    => "required_if:type,blockWysiwyg|max:300",
            "inList"        => FALSE,
            "search"        => FALSE,
            "sort"          => FALSE,
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockWysiwyg",
                    "blockCodeSnippet"
                ]
            ]
        ],
        [
            "name"          => "block_context_index",
            "label"         => "Index of the block in a context",
            "type"          => "selectBox",
            "list"          => [
                "01" => "01",
                "02" => "02",
                "03" => "03",
                "04" => "04",
                "05" => "05",
                "06" => "06",
                "07" => "07",
                "08" => "08"
            ],
            "defaultValue"  => "",
            "preValidation" => "trim",
            "validation"    => "",
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockServiceColumns"
                ]
            ]
        ],
        [
            "name"          => "block_title_text_box",
            "label"         => "Title",
            "type"          => "textBox",
            "maxLength"     => 150,
            "multiLanguage" => TRUE,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation"    => "required_if:type,blockBenefits,blockCase,blockNext,blockMeetUs,blockOpenPositionsList,blockContactUsForm,blockGetEstimateForm,blockProjectsList,blockBlogArticlesList|max:150",
            "inList"        => FALSE,
            "search"        => FALSE,
            "sort"          => FALSE,
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockBenefits",
                    "blockCase",
                    "blockNext",
                    "blockRelated",
                    "blockMeetUs",
                    "blockAccordion",
                    "blockOpenPositionsList",
                    "blockContactUsForm",
                    "blockGetEstimateForm",
                    "blockProjectsList",
                    "blockBlogArticlesList"
                ]
            ]
        ],
        [   // Same block as next, but with different options
            "name"         => "block_title_text_size",
            "label"        => "Title text size",
            "type"         => "selectBox",
            "list"         => [
                "large_text"  => 'Large',
                "medium_text" => 'Medium'
            ],
            "defaultValue" => "large_text",
            "validation"   => "required_if:type,blockCase",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockCase"
                ]
            ]
        ],
        [   // Same block as previous, but with different options
            "name"         => "block_title_size",
            "label"        => "Title text size",
            "type"         => "selectBox",
            "list"         => [
                "h1" => 'Extra Large',
                "h2" => 'Large',
                "h3" => 'Extra Medium',
                "h4" => 'Medium',
                "h5" => 'Small',
                "h6" => 'Extra Small',
            ],
            "defaultValue" => "h2",
            "validation"   => "required_if:type,blockTitleAndTextInRows",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockTitleAndTextInRows"
                ]
            ]
        ],
        [   // Same block as next, but with different options
            "name"         => "block_text_side",
            "label"        => "Text side",
            "type"         => "selectBox",
            "list"         => [
                "left"  => "Left",
                "right" => "Right"
            ],
            "defaultValue" => "left",
            "validation"   => "required_if:type,blockRelated",
            "placement"    => "sidebar",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockRelated"
                ]
            ]
        ],
        [   // Same block as previous, but with different options
            "name"         => "block_text_position",
            "label"        => "Text side",
            "type"         => "selectBox",
            "list"         => [
                "textLeft"   => "Left",
                "textCenter" => "Center",
                "textRight"  => "Right",
                "default"    => "Default"
            ],
            "defaultValue" => "default",
            "validation"   => "required_if:type,blockTitleAndTextInRows",
            "placement"    => "sidebar",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockTitleAndTextInRows"
                ]
            ]
        ],
        [   // Same block as previous ones, but with different options
            "name"         => "block_position",
            "label"        => "Position",
            "type"         => "selectBox",
            "list"         => [
                "left"   => "Left",
                "center" => "Center",
                "right"  => "Right"
            ],
            "defaultValue" => "left",
            "validation"   => "required_if:type,blockImageTitleTextAndLink",
            "placement"    => "sidebar",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockImageTitleTextAndLink"
                ]
            ]
        ],
        [
            "name"         => "block_title_container_size",
            "label"        => "Title container size",
            "type"         => "selectBox",
            "list"         => [
                "large"  => 'Large',
                "medium" => 'Medium',
                "small"  => 'Small'
            ],
            "defaultValue" => "medium",
            "validation"   => "required_if:type,blockTitleAndTextInRows",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockTitleAndTextInRows"
                ]
            ]
        ],
        [
            "name"          => "block_title_text_area",
            "label"         => "Title",
            "type"          => "textArea",
            "maxLength"     => 300,
            "multiLanguage" => TRUE,
            "preValidation" => "strip_tags|xss_clean|trim",
            //"validation"    => "required_if:type,blockImageTitleTextAndLink,blockOpenPositionsLink,blockLatestProject,blockHighlight,blockOurSolutionsWithLink,blockServiceColumns,blockOurValues,blockPartnerRelationships,blockCapabilityDetailTop,blockTitleAndTextInColumns,blockTitleAndTextInRows,blockProjectIntroWithDeliverables|max:300",
            "inList"        => FALSE,
            "search"        => FALSE,
            "sort"          => FALSE,
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockImageTitleTextAndLink",
                    "blockOpenPositionsLink",
                    "blockLatestProject",
                    "blockHighlight",
                    "blockOurSolutionsWithLink",
                    "blockServiceColumns",
                    "blockOurValues",
                    "blockPartnerRelationships",
                    "blockCapabilityDetailTop",
                    "blockTitleAndTextInColumns",
                    "blockTitleAndTextInRows",
                    "blockProjectIntroWithDeliverables"
                ]
            ]
        ],
        [
            "name"         => "block_primary_text_size",
            "label"        => "Description text size",
            "type"         => "selectBox",
            "list"         => [
                "text_1" => 'Extra Large',
                "text_2" => 'Large',
                "text_3" => 'Extra Medium',
                "text_4" => 'Medium',
                "text_5" => 'Small',
                "text_6" => 'Extra Small',
            ],
            "defaultValue" => "text_1",
            "validation"   => "",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockTitleAndTextInRows"
                ]
            ]
        ],
        [
            "name"          => "block_primary_text_area",
            "label"         => "Description (main, textArea)",
            "type"          => "textArea",
            "maxLength"     => 500,
            "multiLanguage" => TRUE,
            "preValidation" => "strip_tags|xss_clean|trim",
            //"validation"    => "required_if:type,blockImageTitleTextAndLink,blockLatestProject,blockServiceColumns,blockCapabilityDetailTop,blockRelated,blockMeetUs,blockCodeSnippet,blockProjectIntroWithDeliverables|max:500",
            "inList"        => FALSE,
            "search"        => FALSE,
            "sort"          => FALSE,
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockImageTitleTextAndLink",
                    "blockLatestProject",
                    "blockHighlight",
                    "blockOurSolutionsWithLink",
                    "blockServiceColumns",
                    "blockCapabilityDetailTop",
                    "blockRelated",
                    "blockMeetUs",
                    "blockCodeSnippet",
                    "blockProjectIntroWithDeliverables"
                ]
            ]
        ],
        [
            "name"          => "block_secondary_text_area",
            "label"         => "Description (secondary, textArea)",
            "type"          => "textArea",
            "maxLength"     => 500,
            "multiLanguage" => TRUE,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation"    => "required_if:type,blockServiceColumns|max:500",
            "inList"        => FALSE,
            "search"        => FALSE,
            "sort"          => FALSE,
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockOurSolutionsWithLink",
                    "blockServiceColumns",
                    "blockCapabilityDetailTop"
                ]
            ]
        ],
        [
            "name"          => "wysiwyg",
            "label"         => "Description (main, editor)",
            "type"          => "editor",
            "multiLanguage" => TRUE,
            "preValidation" => "xss_clean|trim",
            //"validation"    => "required_if:type,blockWysiwyg,blockClaim,blockCapabilitiesHero,blockTitleAndTextInColumns,blockProjectIntroWithDeliverables",
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockWysiwyg",
                    "blockClaim",
                    "blockCapabilitiesHero",
                    "blockTitleAndTextInRows",
                    "blockTitleAndTextInColumns",
                    "blockProjectIntroWithDeliverables"
                ]
            ]
        ],
        [
            "name"        => "blockAuthor",
            "label"       => "Author",
            "type"        => "multiplePicker",
            "longList"    => true,
            "allowInsert" => true,
            "objectTypes" => ["teamMember"],
            "order"       => true,
            "parent"      => [
                "name"   => "type",
                "values" => [
                    "blockAuthor"
                ]
            ],
            "maxSize"     => 1,
            "minSize"     => 0,
        ],
        [
            "name"          => "block_link",
            "label"         => "Link (Single link or link that relates to the image)",
            "type"          => "link",
            "multiLanguage" => TRUE,
            "validation"    => "required_if:type,blockImageTitleTextAndLink,blockOpenPositionsLink,blockLatestProject,blockServiceColumns,blockCase,blockNext,blockMeetUs,blockProjectDetails,blockAuthor",
            "maxLabel"      => 50,
            "objectTypes"   => ["page", "project", "openPosition"],
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockImageTitleTextAndLink",
                    "blockOpenPositionsLink",
                    "blockLatestProject",
                    "blockHighlight",
                    "blockOurSolutionsWithLink",
                    "blockServiceColumns",
                    "blockCase",
                    "blockNext",
                    "blockMeetUs",
                    "blockProjectDetails",
                    "blockAuthor"
                ]
            ]
        ],
        [
            "name"         => "block_link_effect",
            "label"        => "Link effect",
            "type"         => "selectBox",
            "list"         => [
                "wavy_arrow"           => 'Wavy Arrow',
                "top_right_arrow_icon" => 'Top Right Arrow Icon',
                "hyperlink_icon"       => 'Hyperlink Icon',
                "top_arrow_icon"       => 'Top Arrow Icon',
                "bottom_arrow_icon"    => 'Bottom Arrow Icon',
                "left_arrow_icon"      => 'Left Arrow Icon',
                "right_arrow_icon"     => 'Right Arrow Icon',
                "download_icon"        => 'Download Icon'
            ],
            "defaultValue" => "wavy_arrow",
            "validation"   => "required_if:type,blockImageTitleTextAndLink,blockOpenPositionsLink,blockLatestProject,blockServiceColumns,blockCase,blockNext,blockMeetUs,blockOpenPositionsList,blockProjectDetails,blockProjectsList,blockAuthor,blockBlogArticlesList",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockImageTitleTextAndLink",
                    "blockOpenPositionsLink",
                    "blockLatestProject",
                    "blockHighlight",
                    "blockOurSolutionsWithLink",
                    "blockServiceColumns",
                    "blockCase",
                    "blockNext",
                    "blockMeetUs",
                    "blockOpenPositionsList",
                    "blockProjectDetails",
                    "blockProjectsList",
                    "blockAuthor",
                    "blockBlogArticlesList"
                ]
            ]
        ],
        [
            "name"         => "block_link_icon_size",
            "label"        => "Link Icon size",
            "type"         => "selectBox",
            "list"         => [
                "extra_large_icon" => 'Extra Large (56px)',
                "large_icon"       => 'Large (42px)',
                "xmedium_icon"     => 'X Medium (24px)',
                "medium_icon"      => 'Medium (16px)',
                "small_icon"       => 'Small (10px)',
                "default_icon"     => 'Default (22px)'
            ],
            "defaultValue" => "default_icon",
            "validation"   => "required_if:type,blockImageTitleTextAndLink,blockOpenPositionsLink,blockLatestProject,blockServiceColumns,blockCase,blockNext,blockMeetUs,blockOpenPositionsList,blockProjectDetails,blockProjectsList,blockAuthor,blockBlogArticlesList",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockImageTitleTextAndLink",
                    "blockOpenPositionsLink",
                    "blockLatestProject",
                    "blockHighlight",
                    "blockOurSolutionsWithLink",
                    "blockServiceColumns",
                    "blockCase",
                    "blockNext",
                    "blockMeetUs",
                    "blockOpenPositionsList",
                    "blockProjectDetails",
                    "blockProjectsList",
                    "blockAuthor",
                    "blockBlogArticlesList"
                ]
            ]
        ],
        [
            "name"         => "block_link_icon_side",
            "label"        => "Link Icon side",
            "type"         => "selectBox",
            "list"         => [
                "left"  => "Left",
                "right" => "Right"
            ],
            "defaultValue" => "left",
            "validation"   => "required_if:type,blockImageTitleTextAndLink,blockOpenPositionsLink,blockLatestProject,blockServiceColumns,blockCase,blockNext,blockMeetUs,blockOpenPositionsList,blockProjectDetails,blockProjectsList,blockAuthor,blockBlogArticlesList",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockImageTitleTextAndLink",
                    "blockOpenPositionsLink",
                    "blockLatestProject",
                    "blockHighlight",
                    "blockOurSolutionsWithLink",
                    "blockServiceColumns",
                    "blockCase",
                    "blockNext",
                    "blockMeetUs",
                    "blockOpenPositionsList",
                    "blockProjectDetails",
                    "blockProjectsList",
                    "blockAuthor",
                    "blockBlogArticlesList"
                ]
            ]
        ],
        [
            "name"         => "block_link_text_size",
            "label"        => "Link Text size",
            "type"         => "selectBox",
            "list"         => [
                "largeTextLink"  => 'Large',
                "mediumTextLink" => 'Medium',
                "smallTextLink"  => 'Small'
            ],
            "defaultValue" => "mediumTextLink",
            "validation"   => "required_if:type,blockImageTitleTextAndLink,blockOpenPositionsLink,blockLatestProject,blockServiceColumns,blockCase,blockNext,blockMeetUs,blockOpenPositionsList,blockProjectDetails,blockProjectsList,blockAuthor,blockBlogArticlesList",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockImageTitleTextAndLink",
                    "blockOpenPositionsLink",
                    "blockLatestProject",
                    "blockHighlight",
                    "blockOurSolutionsWithLink",
                    "blockServiceColumns",
                    "blockCase",
                    "blockNext",
                    "blockMeetUs",
                    "blockOpenPositionsList",
                    "blockProjectDetails",
                    "blockProjectsList",
                    "blockAuthor",
                    "blockBlogArticlesList"
                ]
            ]
        ],
        [
            "name"       => "blockImage",
            "label"      => "Media (Image/Video)",
            "type"       => "mediaPicker",
            "minSize"    => 1, // means required = true
            "multiple"   => FALSE,
            "mediaType"  => ["image", "video"],
            "placement"  => "sidebar",
            "validation" => "required_if:type,blockImageTitleTextAndLink,blockLatestProject,blockHighlight,blockServiceColumns,blockCapabilitiesHero,blockCase,blockMeetUs,blockSingleImageContainer, blockMediaHero",
            "parent"     => [
                "name"   => "type",
                "values" => [
                    "blockImageTitleTextAndLink",
                    "blockLatestProject",
                    "blockHighlight",
                    "blockServiceColumns",
                    "blockCapabilitiesHero",
                    "blockCase",
                    "blockMeetUs",
                    "blockSingleImageContainer",
                    "blockMediaHero"
                ]
            ]
        ],
        [
            "name"       => "blockImages",
            "label"      => "Media (Images/Videos)",
            "type"       => "mediaPicker",
            "minSize"    => 1, // means required = true
            "maxSize"    => 3,
            "multiple"   => TRUE,
            "mediaType"  => ["image", "video"],
            "placement"  => "sidebar",
            "validation" => "required_if:type,blockMultipleImageContainer",
            "parent"     => [
                "name"   => "type",
                "values" => [
                    "blockMultipleImageContainer"
                ]
            ]
        ],
        [
            "name"         => "block_image_container_side",
            "label"        => "Image side in Container",
            "type"         => "selectBox",
            "list"         => [
                "left"  => "Left",
                "right" => "Right"
            ],
            "defaultValue" => "left",
            "validation"   => "required_if:type,blockLatestProject,blockServiceColumns,blockCapabilitiesHero,blockImageTitleTextAndLink",
            "placement"    => "sidebar",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockLatestProject",
                    "blockServiceColumns",
                    "blockCapabilitiesHero",
                    "blockImageTitleTextAndLink"
                ]
            ]
        ],
        [
            "name"         => "block_image_container_size",
            "label"        => "Image Container size",
            "type"         => "selectBox",
            "list"         => [
                "full_width"           => "Full width",
                "large_width"          => "Large",
                "thirty_seventy_width" => "30/70",
                "seventy_thirty_width" => "70/30",
                "half_width"           => "50/50",
                "one_third_width"      => "One third"

            ],
            "defaultValue" => "",
            "validation"   => "required_if:type,blockSingleImageContainer,blockMultipleImageContainer",
            "placement"    => "sidebar",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockSingleImageContainer",
                    "blockMultipleImageContainer"
                ]
            ]
        ],
        [
            "name"         => "block_image_size",
            "label"        => "Image size",
            "type"         => "selectBox",
            "list"         => [
                "small" => "Small",
                "large" => "Large"

            ],
            "defaultValue" => "small",
            "validation"   => "required_if:type,blockImageTitleTextAndLink",
            "placement"    => "sidebar",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockImageTitleTextAndLink"
                ]
            ]
        ],
        [
            "name"       => "blockVideo",
            "label"      => "Video",
            "type"       => "mediaPicker",
            "minSize"    => 0, // means optional
            "multiple"   => FALSE,
            "mediaType"  => "video",
            "validation" => "required_if:type,blockMediaHero",
            "placement"  => "sidebar",
            "parent"     => [
                "name"   => "type",
                "values" => [
                    "blockMediaHero"
                ]
            ]
        ],
        [
            "name"          => "video_show_controls",
            "label"         => "Show Video Controls",
            "type"          => "checkBox",
            "multiLanguage" => FALSE,
            "inList"        => FALSE,
            "placement"     => "sidebar",
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockMediaHero"
                ]
            ]
        ],
        [
            "name"          => "video_auto_play",
            "label"         => "Video Auto Play",
            "type"          => "checkBox",
            "multiLanguage" => FALSE,
            "inList"        => FALSE,
            "placement"     => "sidebar",
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockMediaHero"
                ]
            ]
        ],
        [
            "name"          => "video_muted",
            "label"         => "Video Muted",
            "type"          => "checkBox",
            "multiLanguage" => FALSE,
            "inList"        => FALSE,
            "placement"     => "sidebar",
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockMediaHero"
                ]
            ]
        ],
        [
            "name"          => "block_project_keywords",
            "label"         => "Project keywords (separated by :)",
            "type"          => "textBox",
            "maxLength"     => 150,
            "multiLanguage" => TRUE,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation"    => "max:150",
            "inList"        => FALSE,
            "search"        => TRUE,
            "sort"          => TRUE,
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockHighlight",
                ]
            ]
        ],
        [
            "name"          => "block_is_centered",
            "label"         => "Is Centered",
            "type"          => "checkBox",
            "multiLanguage" => false,
            "validation"    => "required_if:type,blockOurSolutionsWithLink",
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockOurSolutionsWithLink",
                ]
            ]
        ],
        [
            "name"          => "block_solutions_is_list",
            "label"         => "Has Solutions",
            "type"          => "checkBox",
            "multiLanguage" => false,
            "validation"    => "required_if:type,blockOurSolutionsWithLink",
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockOurSolutionsWithLink",
                ]
            ]
        ],
        [
            "name"        => "blockSimpleLinks",
            "label"       => "Detail Links (More links in the block)",
            "type"        => "multiplePicker",
            "longList"    => true,
            "allowInsert" => true,
            "objectTypes" => ["simpleLink"],
            "order"       => true,
            "parent"      => [
                "name"   => "type",
                "values" => [
                    "blockServiceColumns",
                    "blockRelated",
                    "blockOurSolutionsWithLink"
                ]
            ],
            "maxSize"     => 6,
            "minSize"     => 0,
        ],
        [
            "name"        => "blockKeyMessages",
            "label"       => "Key Messages",
            "type"        => "multiplePicker",
            "longList"    => true,
            "allowInsert" => true,
            "objectTypes" => ["keyMessage"],
            "order"       => true,
            "parent"      => [
                "name"   => "type",
                "values" => [
                    "blockCapabilitiesHero",
                    "blockOurValues",
                    "blockAccordion"
                ]
            ],
            "maxSize"     => 10,
            "minSize"     => 0,
        ],
        [
            "name"        => "blockClientLogos",
            "label"       => "Client Logos",
            "type"        => "multiplePicker",
            "longList"    => true,
            "allowInsert" => true,
            "objectTypes" => ["clientLogo"],
            "order"       => true,
            "parent"      => [
                "name"   => "type",
                "values" => [
                    "blockPartnerRelationships"
                ]
            ],
            "maxSize"     => 25,
            "minSize"     => 0,
        ],
        [
            "name"          => "block_deliverables_text_box",
            "label"         => "Services & Solutions / Deliverables label",
            "type"          => "textBox",
            "maxLength"     => 150,
            "multiLanguage" => TRUE,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation"    => "required_if:type,blockServicesAndSolutions,blockProjectIntroWithDeliverables|max:150",
            "inList"        => FALSE,
            "search"        => FALSE,
            "sort"          => FALSE,
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockServicesAndSolutions",
                    "blockProjectIntroWithDeliverables"
                ]
            ]
        ],
        [
            "name"        => "blockServicesSolutions",
            "label"       => "Services & Solutions / Deliverables",
            "type"        => "multiplePicker",
            "longList"    => true,
            "allowInsert" => true,
            "objectTypes" => ["servicesSolution"],
            "order"       => true,
            "parent"      => [
                "name"   => "type",
                "values" => [
                    "blockServicesAndSolutions",
                    "blockProjectIntroWithDeliverables"
                ]
            ],
            "maxSize"     => 9,
            "minSize"     => 0,
        ],
        [
            "name"        => "blockBenefits",
            "label"       => "Benefits",
            "type"        => "multiplePicker",
            "longList"    => true,
            "allowInsert" => true,
            "objectTypes" => ["benefit"],
            "order"       => true,
            "parent"      => [
                "name"   => "type",
                "values" => [
                    "blockBenefits"
                ]
            ],
            "maxSize"     => 8,
            "minSize"     => 0,
        ],
        [
            "name"         => "block_svg_type",
            "label"        => "SVG object type",
            "type"         => "selectBox",
            "list"         => [
                "arrowsSlash" => 'Arrows Slash',
                "brush"       => 'Brush',
                "heart"       => 'Heart',
                "pen"         => 'Pen',
                "pieces"      => 'Pieces',
                "pointer"     => 'Pointer',
                "settings"    => 'Settings',
                "world"       => 'World',
            ],
            "defaultValue" => "arrowsSlash",
            "validation"   => "required_if:type,blockCapabilityDetailTop",
            "parent"       => [
                "name"   => "type",
                "values" => [
                    "blockCapabilityDetailTop"
                ]
            ]
        ],
        [
            "name"        => "blockPhrases",
            "label"       => "Phrases",
            "type"        => "multiplePicker",
            "longList"    => true,
            "allowInsert" => true,
            "objectTypes" => ["phrase"],
            "order"       => true,
            "parent"      => [
                "name"   => "type",
                "values" => [
                    "blockTeamMembersList"
                ]
            ],
            "maxSize"     => 5,
            "minSize"     => 0,
        ],
        [
            "name"          => "block_order_by",
            "label"         => "Order By",
            "type"          => "selectBox",
            "list"          => [
                "name_asc"  => "Name (A-Z)",
                "name_desc" => "Name (Z-A)",
                "id"        => "ID (Order of creation)"
            ],
            "defaultValue"  => "name_asc",
            "preValidation" => "trim",
            "validation"    => "",
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockTeamMembersList"
                ]
            ]
        ],
        [
            "name"          => "block_count_for_phrase",
            "label"         => "Inject Phrase at every x items",
            "type"          => "selectBox",
            "list"          => [
                "3" => "One phrase every 3 items",
                "6" => "One phrase every 6 items",
                "9" => "One phrase every 9 items"
            ],
            "defaultValue"  => "6",
            "preValidation" => "trim",
            "validation"    => "",
            "parent"        => [
                "name"   => "type",
                "values" => [
                    "blockTeamMembersList"
                ]
            ]
        ],
        [
            "name"        => "blockProjectDetails",
            "label"       => "Project Details",
            "type"        => "multiplePicker",
            "longList"    => true,
            "allowInsert" => true,
            "objectTypes" => ["projectDetail"],
            "order"       => true,
            "parent"      => [
                "name"   => "type",
                "values" => [
                    "blockProjectDetails"
                ]
            ],
            "maxSize"     => 3,
            "minSize"     => 1,
        ],
        [
            "name"        => "blockBlocks",
            "label"       => "Blocks Container",
            "type"        => "multiplePicker",
            "longList"    => true,
            "allowInsert" => true,
            "objectTypes" => ["block"],
            "order"       => true,
            "parent"      => [
                "name"   => "type",
                "values" => [
                    "blockCaseContainer"
                ]
            ],
            "maxSize"     => 3,
            "minSize"     => 1,
        ]
    ],
    "actions"        => [
        "edit", "order", "insert", "delete"
    ]
];
