@@ -5,31 +5,35 @@ const MIN_DESCRIPTION_LENGTH = 300
55const VALID_CODE_LOCATIONS = [
66 "CSCS" , "Github" , "ModelDB" , "BioModels" , "Zenodo"
77]
8- const VALID_LICENSES = [
9- // todo: clean the model catalog up, so one licence has one name
10- "BSD" ,
11- "MIT" ,
12- "Creative Commons Attribution 4.0 International" ,
13- "CC BY" ,
14- "Creative Commons Attribution Share Alike 4.0 International" ,
15- "Apache License 2.0" ,
16- "BSD 3-Clause" ,
17- "Creative Commons Attribution 4.0 International" ,
18- "MIT License" ,
19- "GNU General Public License v2.0 or later" ,
20- "GPL-3.0" ,
21- "Creative Commons Attribution 4.0" ,
22- "BSD 2-clause" ,
23- "GPL-3.0" ,
24- "LGPL-3.0" ,
25- "CC BY-NC-ND" ,
26- "Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)" ,
27- "GPLv2/GPLv3" ,
28- "Creative Commons Attribution Non Commercial Share Alike 4.0 International" ,
29- "GNU General Public License v3.0" ,
30- "GNU General Public License v3" ,
31- "GNU General Public License, Version 2" ,
32- "Apache License, Version 2.0"
8+ const VALID_LICENSES = [ // todo: we should get this list from the API
9+ "Apache License 2.0" ,
10+ "BSD 2-Clause 'Simplified' License" ,
11+ "BSD 3-Clause 'New' or 'Revised' License" ,
12+ "BSD 4-Clause 'Original' or 'Old' License" ,
13+ "CeCILL Free Software License Agreement v2.1" ,
14+ "Creative Commons Attribution 4.0 International" ,
15+ "Creative Commons Attribution No Derivatives 4.0 International" ,
16+ "Creative Commons Attribution Non Commercial 4.0 International" ,
17+ "Creative Commons Attribution Non Commercial No Derivatives 4.0 International" ,
18+ "Creative Commons Attribution Non Commercial Share Alike 4.0 International" ,
19+ "Creative Commons Attribution Share Alike 4.0 International" ,
20+ "Creative Commons Zero v1.0 Universal" ,
21+ "European Union Public License 1.2" ,
22+ "GNU Affero General Public License v3.0 only" ,
23+ "GNU General Public License v1.0 only" ,
24+ "GNU General Public License v1.0 or later" ,
25+ "GNU General Public License v2.0 only" ,
26+ "GNU General Public License v2.0 or later" ,
27+ "GNU General Public License v3.0 only" ,
28+ "GNU General Public License v3.0 or later" ,
29+ "GNU Lesser General Public License v2.0 or later" ,
30+ "GNU Lesser General Public License v2.1 only" ,
31+ "GNU Lesser General Public License v2.1 or later" ,
32+ "GNU Lesser General Public License v3.0 only" ,
33+ "GNU Lesser General Public License v3.0 or later" ,
34+ "GNU Library General Public License v2 only" ,
35+ "MIT License" ,
36+ "Mozilla Public License 2.0" ,
3337]
3438
3539function checkAccessibility ( model ) {
0 commit comments