{"form": [[{"id": "client_id", "key": "id", "cols": 4, "name": "client_id", "type": "typeahead", "label": "Cliente", "values": "entity_name,person_name", "autofocus": true, "mandatory": false, "createForm": "registry_list_form", "valueSearch": "api/v1/registry/search/id:", "typeaheadList": "api/v1/registry/search/entity_name!person_name:", "createEndpoint": "/api/v1/registry", "additionalClass": "form-control-sm", "createdEntryFields": "entity_name,entity_brand,person_name,person_surname", "createEndpointMethod": "post"}, {"id": "type", "cols": 3, "list": "/api/v1/misc/codelists/code_list_duties_services", "name": "type", "type": "dropdown", "label": "Service", "values": "description", "onchange": "jivaCoreOptions.unsavedData=true;setDutyTaskName();setDutyPrice();", "mandatory": false, "createForm": "duty_services_codelist_form", "defaultValue": "ZZZ", "createEndpoint": "/api/v2/admin/codelists/code_list_duties_services", "additionalClass": "form-select-sm", "createdEntryFields": "description", "createEndpointMethod": "post"}, {"id": "price", "cols": 2, "name": "meta[price]", "type": "text", "label": "Price", "autofocus": false, "additionalClass": "form-control-sm"}, {"id": "currency", "cols": 1, "name": "meta[currency]", "type": "text", "label": "Currency", "autofocus": false, "additionalClass": "form-control-sm"}, {"id": "user_id", "key": "id", "cols": 2, "list": "api/v1/users/", "name": "user_id", "type": "dropdown", "label": "Users", "values": "username", "onchange": "jivaCoreOptions.unsavedData=true;", "autofocus": true, "createForm": "core_users_form", "defaultValue": "ZZZ", "createEndpoint": "/api/v1/users/new", "additionalClass": "form-select-sm,not-available-free", "createdEntryFields": "description", "createEndpointMethod": "post"}], [{"id": "task", "cols": 4, "name": "task", "type": "text", "label": "Duty name", "mandatory": true, "relatedHidden": "id", "additionalClass": "form-control-sm"}, {"id": "pipeline_id", "key": "id", "cols": 2, "list": "api/v1/duty/pipelines/", "name": "pipeline_id", "type": "dropdown", "label": "Pipeline", "values": "name", "onchange": "jivaCoreOptions.unsavedData=true;", "createForm": "duty_pipelines_form", "createEndpoint": "api/v1/duty/pipelines/", "additionalClass": "form-select-sm", "createdEntryFields": "name", "createEndpointMethod": "post"}, {"id": "date_request", "cols": 2, "name": "date_request", "type": "datetime", "label": "Request", "default": "todayAndNow", "onchange": "jivaCoreOptions.unsavedData=true;checkAllDates();", "validate": "mandatory,date", "mandatory": true, "additionalClass": "form-control-sm"}, {"id": "date_start", "cols": 2, "name": "date_start", "type": "datetime", "label": "Start", "onchange": "jivaCoreOptions.unsavedData=true;checkAllDates();", "mandatory": false, "additionalClass": "form-control-sm"}, {"id": "date_expiry", "cols": 2, "name": "date_expiry", "type": "datetime", "label": "Expiry", "onchange": "jivaCoreOptions.unsavedData=true;checkAllDates();", "mandatory": false, "additionalClass": "form-control-sm"}], [{"id": "note", "cols": 12, "name": "meta[note]", "type": "richtext", "label": "Description", "onchange": "jivaCoreOptions.unsavedData=true;", "mandatory": false, "labelToggle": true}]]}