-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobservation.json
89 lines (89 loc) · 2.58 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
{
"description_field_name":"cd_nom",
"label": "observation ou une absence",
"label_list": "observations ou des absences",
"genre":"F",
"display_properties": [
"presence",
"cd_nom",
"stade_vie",
"abondance",
"type_denombrement",
"nombre_compte",
"nombre_estime_min",
"nombre_estime_max",
"comments"
],
"display_list": [
"cd_nom",
"nombre_compte",
"nombre_estime_min",
"nombre_estime_max"
],
"specific": {
"presence": {
"type_widget": "radio",
"required": true,
"attribut_label": "Avez-vous observé des reptiles lors de la prospection",
"values": ["Oui", "Non"],
"value": "Oui"
},
"cd_nom": {
"type_widget": "taxonomy",
"attribut_label": "Espèce observée",
"keyValue": "cd_nom",
"keyLabel": "__MODULE.TAXONOMY_DISPLAY_FIELD_NAME",
"multiple": false,
"api": "taxref/allnamebylist/__MODULE.ID_LIST_TAXONOMY",
"application": "TaxHub",
"required": true,
"type_util": "taxonomy",
"value": 186278,
"hidden":"({value}) => value.presence === 'Non'"
},
"stade_vie": {
"type_widget": "select",
"required": true,
"attribut_label": "Stade de vie",
"values": ["Indéterminé", "Nouveaux-nés", "Juvéniles", "Adultes"],
"value": "Indéterminé",
"hidden":"({value}) => value.presence === 'Non'"
},
"abondance": {
"type_widget": "checkbox",
"attribut_label": "Abondance",
"values": ["Nombre d'individus observés à vue", "Nombre d'individus observés sur/sous plaques"],
"hidden":"({value}) => value.presence === 'Non'"
},
"type_denombrement": {
"type_widget": "radio",
"attribut_label": "Précision du dénombrement",
"values": ["Compté", "Estimé"],
"hidden":"({value}) => value.presence === 'Non'"
},
"nombre_compte": {
"type_widget": "number",
"attribut_label": "Nombre (compté)",
"required": false,
"min": 0,
"max": 100,
"hidden": "({value}) => value.type_denombrement != 'Compté'"
},
"nombre_estime_min": {
"type_widget": "number",
"attribut_label": "Nombre minimal (estimé)",
"required": false,
"hidden": "({value}) => value.type_denombrement != 'Estimé'"
},
"nombre_estime_max": {
"type_widget": "number",
"attribut_label": "Nombre maximal (estimé)",
"required": false,
"hidden": "({value}) => value.type_denombrement != 'Estimé'"
},
"comments": {
"type_widget": "textarea",
"attribut_label": "Commentaire (sexe des individus observés etc)"
}
}
}