<?php

    return [
        "type"           => "liveshow_item",
        "model"          => "LiveshowItem",
        "label"          => "Live Show Items",
        "label_singular" => "Live Show Item",
        "group"          => "general",
        "order"          => TRUE,
        "fields"         => [
            [
                "name"          => "title",
                "label"         => "Live Show Title",
                "type"          => "textBox",
                "maxLength"     => 150,
                "multiLanguage" => TRUE,
                "preValidation" => "strip_tags|xss_clean|trim",
                "validation"    => "required|max:150",
                "inList"        => TRUE,
                "search"        => TRUE,
                "sort"          => TRUE
            ],
            [
                "name"          => "day",
                "label"         => "Day & Month",
                "type"          => "textBox",
                "maxLength"     => 150,
                "multiLanguage" => TRUE,
                "preValidation" => "strip_tags|xss_clean|trim",
                "validation"    => "max:150",
                "inList"        => FALSE,
                "search"        => FALSE,
                "sort"          => FALSE
            ],
            [
                "name"          => "year",
                "label"         => "Year",
                "type"          => "textBox",
                "maxLength"     => 150,
                "multiLanguage" => TRUE,
                "preValidation" => "strip_tags|xss_clean|trim",
                "validation"    => "max:150",
                "inList"        => FALSE,
                "search"        => FALSE,
                "sort"          => FALSE
            ],
            [
                "name"          => "location",
                "label"         => "Location",
                "type"          => "textBox",
                "maxLength"     => 150,
                "multiLanguage" => TRUE,
                "preValidation" => "strip_tags|xss_clean|trim",
                "validation"    => "required|max:150",
                "inList"        => FALSE,
                "search"        => FALSE,
                "sort"          => FALSE
            ],
            [
                "name"          => "link",
                "label"         => "Link",
                "type"          => "link",
                "maxLength"     => 150,
                "multiLanguage" => TRUE,
                "preValidation" => "strip_tags|xss_clean|trim",
                "validation"    => "max:150",
                "inList"        => FALSE,
                "search"        => FALSE,
                "sort"          => FALSE
            ]
        ],
        "actions"        => [
            "edit", "order", "insert", "delete"
        ]
    ];

