diff --git a/src/main/webapp/formdefinitions/models/FINNCEREAL.json b/src/main/webapp/formdefinitions/models/FINNCEREAL.json index 5e687f5e023bd0cfbaac1a49f8c75f7036041f32..93aec56a3cb138f3f034e49b48f2122a29c92778 100644 --- a/src/main/webapp/formdefinitions/models/FINNCEREAL.json +++ b/src/main/webapp/formdefinitions/models/FINNCEREAL.json @@ -1,77 +1,77 @@ -{ - "_licensenbte": [ - "Copyright (c) 2014 NIBIO <http://www.nibio.nb/>. ", - "", - "This file is part of VIPSLogic. ", - "VIPSLogic is free software: you can redistribute it and/or modify ", - "it under the terms of the NIBIO Open Source License as published by ", - "NIBIO, either version 1 of the License, or (at your option) any ", - "later version. ", - "", - "VIPSLogic is distributed in the hope that it will be useful, ", - "but WITHOUT ANY WARRANTY; without even the implied warranty of ", - "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ", - "NIBIO Open Source License for more details. ", - "", - "You should have received a copy of the NIBIO Open Source License ", - "along with VIPSLogic. If nbt, see <http://www.nibio.nb/licenses/>. " - ], - "_comment" : "Sowing date, previous crop, tillage method, and current crop disease susceptibility for the specific field", - "fields": [ - { - "name" : "modelName", - "dataType" : "STRING", - "fieldType" : "SELECT_SINGLE", - "required" : true, - "options": [ - {"value":"PyrenophoraTeres", "label":{"en":"Net Blotch","nb":"?","fi":"Verkkolaikku"}, "selected":"true"}, - {"value":"DrechsleraTriticiRepentis", "label":{"en":"Tan Spot","nb":"","fi":"Ruskolaikku"}}, - {"value":"StagonosporaNodorum", "label":{"en" : "Stagonspora spot", "nb":"?", "fi":"Pistelaikku"}} - ] - }, - { - "name" : "fieldSowingDate", - "dataType" : "DATE", - "dateFormat" : "yyyy-MM-dd", - "required" : true - }, - { - "name" : "previousCrop", - "dataType" : "STRING", - "fieldType" : "SELECT_SINGLE", - "required" : true, - "options": [ - {"value":"Wheat", "label":{"en":"Wheat","nb":"Hvete","fi":"Vehn�"}, "selected":"true"}, - {"value":"Barley", "label":{"en":"Barley","nb":"Barley","fi":"Kaura"}}, - {"value":"Oats", "label":{"en" : "Oats", "nb":"?", "fi":"Ohra"}}, - {"value":"Grass", "label":{"en" : "Grass", "nb":"?","fi":"Hein�"}}, - {"value":"Rapeseed", "label":{"en" : "Turnip rape", "nb":"?","fi":"Rypsi"}}, - {"value":"SugarBeet", "label":{"en" : "Sugar beet", "nb":"?","fi":"Sokerijuurikas"}}, - {"value":"Legumes", "label":{"en" : "Legumes", "nb":"?","fi":"Herneet"}} - ] - }, - { - "name" : "tillageMethod", - "dataType" : "STRING", - "fieldType" : "SELECT_SINGLE", - "required" : true, - "options": [ - {"value":"Intensive", "label":{"en":"Ploughing","nb":"?","fi":"Kynt�"}, "selected":"true"}, - {"value":"Reduced", "label":{"en":"Reduced tillage","nb":"?","fi":"Kevytmuokkaus"}}, - {"value":"None", "label":{"en" : "Direct seeding", "nb":"?","fi":"Suorakylv�"}} - ] - }, - { - "name" : "cropSusceptibility", - "dataType" : "STRING", - "fieldType" : "SELECT_SINGLE", - "required" : true, - "options": [ - {"value":"Normal", "label":{"en":"Normal","nb":"?", "fi":"normaali"}, "selected":"true"}, - {"value":"Resistant", "label":{"en":"Resistant","nb":"?","fi":"Resistentti"}}, - {"value":"Sensitive", "label":{"en" : "Susceptible", "nb":"?", "fi":"Haavoittuva"}} - ] - } - - ] +{ + "_licensenbte": [ + "Copyright (c) 2014 NIBIO <http://www.nibio.nb/>. ", + "", + "This file is part of VIPSLogic. ", + "VIPSLogic is free software: you can redistribute it and/or modify ", + "it under the terms of the NIBIO Open Source License as published by ", + "NIBIO, either version 1 of the License, or (at your option) any ", + "later version. ", + "", + "VIPSLogic is distributed in the hope that it will be useful, ", + "but WITHOUT ANY WARRANTY; without even the implied warranty of ", + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ", + "NIBIO Open Source License for more details. ", + "", + "You should have received a copy of the NIBIO Open Source License ", + "along with VIPSLogic. If nbt, see <http://www.nibio.nb/licenses/>. " + ], + "_comment" : "Sowing date, previous crop, tillage method, and current crop disease susceptibility for the specific field", + "fields": [ + { + "name" : "modelName", + "dataType" : "STRING", + "fieldType" : "SELECT_SINGLE", + "required" : true, + "options": [ + {"value":"PyrenophoraTeres", "label":{"en":"Net Blotch","nb":"?","fi":"Verkkolaikku"}, "selected":"true"}, + {"value":"DrechsleraTriticiRepentis", "label":{"en":"Tan Spot","nb":"","fi":"Ruskolaikku"}}, + {"value":"StagonosporaNodorum", "label":{"en" : "Stagonspora spot", "nb":"?", "fi":"Pistelaikku"}} + ] + }, + { + "name" : "fieldSowingDate", + "dataType" : "DATE", + "dateFormat" : "yyyy-MM-dd", + "required" : true + }, + { + "name" : "previousCrop", + "dataType" : "STRING", + "fieldType" : "SELECT_SINGLE", + "required" : true, + "options": [ + {"value":"Wheat", "label":{"en":"Wheat","nb":"Hvete","fi":"Vehn"}, "selected":"true"}, + {"value":"Barley", "label":{"en":"Barley","nb":"Barley","fi":"Kaura"}}, + {"value":"Oat", "label":{"en" : "Oats", "nb":"?", "fi":"Ohra"}}, + {"value":"Grass", "label":{"en" : "Grass", "nb":"?","fi":"Hein"}}, + {"value":"Rapeseed", "label":{"en" : "Turnip rape", "nb":"?","fi":"Rypsi"}}, + {"value":"SugarBeet", "label":{"en" : "Sugar beet", "nb":"?","fi":"Sokerijuurikas"}}, + {"value":"Pulse", "label":{"en" : "Legumes", "nb":"?","fi":"Herneet"}} + ] + }, + { + "name" : "tillageMethod", + "dataType" : "STRING", + "fieldType" : "SELECT_SINGLE", + "required" : true, + "options": [ + {"value":"Intensive", "label":{"en":"Ploughing","nb":"?","fi":"Kynt"}, "selected":"true"}, + {"value":"Reduced", "label":{"en":"Reduced tillage","nb":"?","fi":"Kevytmuokkaus"}}, + {"value":"None", "label":{"en" : "Direct seeding", "nb":"?","fi":"Suorakylv"}} + ] + }, + { + "name" : "cropSusceptibility", + "dataType" : "STRING", + "fieldType" : "SELECT_SINGLE", + "required" : true, + "options": [ + {"value":"Normal", "label":{"en":"Normal","nb":"?", "fi":"normaali"}, "selected":"true"}, + {"value":"Resistant", "label":{"en":"Resistant","nb":"?","fi":"Resistentti"}}, + {"value":"Sensitive", "label":{"en" : "Susceptible", "nb":"?", "fi":"Haavoittuva"}} + ] + } + + ] } \ No newline at end of file