<?php
return array(
    "type" => "technology",
    "model" => "App\Models\Technology",
    "label" => "Technologies",
    "label_singular" => "Technology",
    "group" => "projects",
    "template" => false,
    "order" => false,
    "shareable" => "none",
    "fields" => array(
        array(
            "name" => "title",
            "label" => "title",
            "type" => "textBox",
            "maxLength" => 255,
            "multiLanguage" => true,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation" => "required|max:255",
            "inList" => true,
            "search" => true,
            "sort" => true
        ),
        array(
            "name" => "icon",
            "label" => "icon",
            "type" => "mediaPicker",
            "multiLanguage" => false,
            "mediaType" => "image",
            "placement" => "sidebar",
            "multiple" => false,
            "minSize" => "0",
            /*
            "thumbnailSizes" => array(
                array("type" => "fit", "name" => "80x80", "width" => 80, "height" => 80),
            )
            */
        ),
        array(
            "name" => "iconLight",
            "label" => "icon light",
            "type" => "mediaPicker",
            "multiLanguage" => false,
            "mediaType" => "image",
            "placement" => "sidebar",
            "multiple" => false,
            "minSize" => "0",
            /*
            "thumbnailSizes" => array(
                array("type" => "fit", "name" => "80x80", "width" => 80, "height" => 80),
            )
            */
        ),
        array(
            "name" => "iconCf",
            "label" => "icon Climate Friendly",
            "type" => "mediaPicker",
            "multiLanguage" => false,
            "mediaType" => "image",
            "placement" => "sidebar",
            "multiple" => false,
            "minSize" => "0",
            /*
            "thumbnailSizes" => array(
                array("type" => "fit", "name" => "80x80", "width" => 80, "height" => 80),
            )
            */
        ),
        array(
            "name" => "show_cf",
            "label" => "Show in Climate Friendly",
            "type" => "checkBox",
            "placement" => "sidebar"
        ),
        array(
            "name" => "show_spg",
            "label" => "Show in SPG",
            "type" => "checkBox",
            "placement" => "sidebar"
        ),
        array(
            "name" => "api_id",
            "label" => "API mappings",
            "type" => "textArea",
            "validation" => "",
            "multiLanguage" => false,
            "info" => "One line for each API mitigation technologies that map with this one (lower case)"
        ),
    ),
    "actions" => array(
        "insert", "edit", "delete"
    )
);
