-
Notifications
You must be signed in to change notification settings - Fork 0
/
visit.json
166 lines (166 loc) · 5.19 KB
/
visit.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"genre":"M",
"label": "Passage",
"label_list": "Passages",
"display_properties": [
"id_dataset",
"observers",
"num_passage",
"visit_date_min",
"accessibility",
"pluviosite",
"couverture_nuageuse",
"vent",
"turbidite",
"vegetation_aquatique_principale",
"rives",
"habitat_terrestre_environnant",
"activite_humaine",
"methode_de_prospection",
"presence_amphibien",
"comments"
],
"display_list": [
"num_passage",
"visit_date_min",
"observers",
"nb_observations"
],
"keep": [
"observers",
"visit_date_min",
"accessibility",
"pluviosite",
"couverture_nuageuse",
"vent",
"turbidite",
"vegetation_aquatique_principale",
"rives",
"habitat_terrestre_environnant",
"activite_humaine",
"methode_de_prospection",
"presence_amphibien",
"comments"
],
"specific": {
"id_base_site": {
"type_widget": "site",
"required": true,
"attribut_label": "Site"
},
"num_passage": {
"type_widget": "select",
"required": true,
"attribut_label": "Numéro de passage",
"values": ["1er passage", "2eme passage", "3eme passage"]
},
"visit_date_min": {
"type_widget": "date",
"attribut_label": "Date du passage",
"required": true
},
"accessibility": {
"type_widget": "radio",
"required": true,
"attribut_label": "Le site est accessible",
"values": ["Oui", "Non"],
"value": "Oui"
},
"pluviosite": {
"type_widget": "nomenclature",
"attribut_label": "Pluviosité",
"code_nomenclature_type": "PLUVIOSITE",
"required": false,
"type_util": "nomenclature",
"hidden":"({value}) => value.accessibility === 'Non'"
},
"couverture_nuageuse": {
"type_widget": "nomenclature",
"attribut_label": "Couverture nuageuse",
"code_nomenclature_type": "COUVERTURE_NUAGEUSE",
"required": false,
"type_util": "nomenclature",
"hidden":"({value}) => value.accessibility === 'Non'"
},
"vent": {
"type_widget": "nomenclature",
"attribut_label": "Vent",
"code_nomenclature_type": "VENT",
"required": false,
"type_util": "nomenclature" ,
"hidden":"({value}) => value.accessibility === 'Non'"
},
"turbidite": {
"type_widget": "nomenclature",
"attribut_label": "Turbidité",
"code_nomenclature_type": "TURBIDITE",
"required": "({value}) => value.accessibility === 'Oui' && value.num_passage === '1er passage'",
"type_util": "nomenclature",
"hidden":"({value}) => value.accessibility === 'Non'"
},
"vegetation_aquatique_principale": {
"type_widget": "nomenclature",
"attribut_label": "Végétation aquatique principale",
"code_nomenclature_type": "VEGETATION_AQUATIQUE",
"required": "({value}) => value.accessibility === 'Oui' && value.num_passage === '1er passage'",
"type_util": "nomenclature",
"hidden":"({value}) => value.accessibility === 'Non'"
},
"rives": {
"type_widget": "nomenclature",
"attribut_label": "Rives",
"code_nomenclature_type": "RIVES",
"required": "({value}) => value.accessibility === 'Oui' && value.num_passage === '1er passage'",
"type_util": "nomenclature",
"title":"Indiquer la catégorie majoritaire",
"hidden":"({value}) => value.accessibility === 'Non'"
},
"habitat_terrestre_environnant": {
"type_widget": "nomenclature",
"attribut_label": "Habitat terrestre environnant",
"code_nomenclature_type": "HABITAT_TERRESTRE_MAJORITAIRE",
"required": "({value}) => value.accessibility === 'Oui' && value.num_passage === '1er passage'",
"type_util": "nomenclature",
"title":"Indiquer la catégorie majoritaire",
"hidden":"({value}) => value.accessibility === 'Non'"
},
"activite_humaine": {
"type_widget": "nomenclature",
"attribut_label": "Activité humaine",
"code_nomenclature_type": "ACTIVITE_HUMAINE",
"required": "({value}) => value.accessibility === 'Oui' && value.num_passage === '1er passage'",
"type_util": "nomenclature",
"hidden":"({value}) => value.accessibility === 'Non'"
},
"methode_de_prospection": {
"type_widget": "datalist",
"attribut_label": "Méthode(s) de prospection",
"api": "nomenclatures/nomenclature/METHODE_PROSPECTION",
"application": "GeoNature",
"keyValue": "id_nomenclature",
"keyLabel": "label_fr",
"multiple": true,
"data_path": "values",
"type_util": "nomenclature",
"required": "({value}) => value.accessibility === 'Oui'",
"default": {
"cd_nomenclature": "1"
},
"hidden":"({value}) => value.accessibility === 'Non'"
},
"comments": {
"type_widget": "textarea",
"attribut_label": "Commentaire"
},
"presence_amphibien": {
"type_widget": "radio",
"attribut_label": "Présence d’amphibiens",
"values": ["Oui", "Non"],
"required": "({value}) => value.accessibility === 'Oui'",
"hidden":"({value}) => value.accessibility === 'Non'"
},
"nb_observations": {
"attribut_label": "Nb. d'observations"
}
}
}