<?php
return array(
    "type" => "life_experience",
    "model" => "LifeExperience",
    "label" => "Life Experience",
    "label_singular" => "Life Experience",
    "group" => "none",
    "template" => false,
    "order" => false,
    "fields" => array(
        array(
            "name" => "title",
            "label" => "Título",
            "type" => "textBox",
            "maxLength" => 150,
            "multiLanguage" => true,
            "preValidation" => "xss_clean|trim",
            "validation" => "required|max:150",
            "info" => ""
        ),
        array(
            "name" => "subtitle",
            "label" => "Sub título",
            "type" => "textBox",
            "maxLength" => 150,
            "multiLanguage" => true,
            "preValidation" => "xss_clean|trim",
            "validation" => "required|max:150",
            "info" => ""
        ),
        array(
            "name" => "link",
            "label" => "Link Video",
            "type" => "textBox",
            "maxLength" => 3000,
            "multiLanguage" => false,
            "preValidation" => "trim",
            "validation" => "required|max:3000|url",
        ),
        array(
            "name" => "foto",
            "label" => "Foto",
            "type" => "mediaPicker",
            "multiLanguage" => false,
            "mediaType" => "image",
            "multiple" => false,
            "minSize" => "0",
            "thumbnailSizes" => array(
                array("type" => "fit", "name" => "100", "width" => 100, "height" => null),
            ),
        ),
        array(
            "name" => "placeholderVideo",
            "label" => "Placeholder Video",
            "type" => "mediaPicker",
            "multiLanguage" => false,
            "mediaType" => "image",
            "multiple" => false,
            "minSize" => "0",
            "thumbnailSizes" => array(
                array("type" => "fit", "name" => "542", "width" => 542, "height" => null),
            ),
        ),
        array(
            "name" => "document",
            "label" => "PDF document",
            "type" => "mediaPicker",
            "multiLanguage" => false,
            "mediaType" => "document", 
            "multiple" => false,
            "minSize" => "0"
        ),
        array(
            "name" => "linkExterno",
            "label" => "Link Externo",
            "type" => "textBox",
            "maxLength" => 1500,
            "multiLanguage" => false,
            "preValidation" => "trim",
            "validation" => "required|max:1500|url",
        ),
    ),
    "actions" => array(
        "insert", "edit", "delete"
    )
);