-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobservation.json
97 lines (97 loc) · 2.49 KB
/
observation.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"description_field_name":"cd_nom",
"genre":"F",
"display_properties": [
"cd_nom",
"id_nomenclature_stade",
"id_nomenclature_sex",
"id_nomenclature_typ_denbr",
"count_min",
"count_max",
"comments"
],
"display_list": [
"cd_nom",
"id_nomenclature_typ_denbr",
"count_min",
"count_max"
],
"specific": {
"cd_nom": {
"type_widget": "taxonomy",
"attribut_label": "Espèces observées",
"keyValue": "cd_nom",
"keyLabel": "__MODULE.TAXONOMY_DISPLAY_FIELD_NAME",
"multiple": false,
"api": "taxref/allnamebylist/__MODULE.ID_LIST_TAXONOMY",
"application": "TaxHub",
"required": false,
"type_util": "taxonomy"
} ,
"id_nomenclature_stade": {
"type_widget": "datalist",
"attribut_label": "Stade de vie",
"api": "nomenclatures/nomenclature/STADE_VIE",
"application": "GeoNature",
"keyValue": "id_nomenclature",
"keyLabel": "label_fr",
"data_path": "values",
"type_util": "nomenclature",
"required": true,
"filters": {
"cd_nomenclature": ["1", "2", "3", "8", "9"]
},
"default": {
"cd_nomenclature": "1"
}
},
"id_nomenclature_sex": {
"type_widget": "datalist",
"attribut_label": "Sexe",
"api": "nomenclatures/nomenclature/SEXE",
"application": "GeoNature",
"keyValue": "id_nomenclature",
"keyLabel": "label_fr",
"data_path": "values",
"type_util": "nomenclature",
"required": true,
"filters": {
"cd_nomenclature": ["1", "2", "3"]
},
"default": {
"cd_nomenclature": "1"
}
},
"id_nomenclature_typ_denbr": {
"type_widget": "datalist",
"attribut_label": "Type de dénombrement",
"api": "nomenclatures/nomenclature/TYP_DENBR",
"application": "GeoNature",
"keyValue": "id_nomenclature",
"keyLabel": "label_fr",
"data_path": "values",
"type_util": "nomenclature",
"required": false,
"filters": {
"cd_nomenclature": ["Co", "Es"]
}
},
"count_min": {
"type_widget": "number",
"attribut_label": "Nombre minimum",
"required": false,
"min": 1,
"value": 1
},
"count_max": {
"type_widget": "number",
"attribut_label": "Nombre maximum",
"required": "({value}) => value.count_min !=1",
"min": "({value}) => value.count_min"
},
"comments": {
"type_widget": "textarea",
"attribut_label": "Commentaire"
}
}
}