@@ -68,6 +68,12 @@ export default async function exportFrEsrPaysageFonctionsGourvernance() {
6868 eta_ville : structure . currentLocalisation ?. locality ,
6969 eta_id_paysage : structure . id ,
7070 eta_lib : structure . currentName ?. usualName ,
71+ eta_lib_off : structure . currentName ?. officialName ,
72+ eta_lib_court : structure . currentName ?. shortName ,
73+ eta_acronym : structure . currentName ?. acronymFr ,
74+ eta_vague : structure . categories . find ( ( cat ) => cat ?. usualNameFr . startsWith ( "Vague" ) ) ?. usualNameFr ,
75+ eta_site_web : structure . websites . find ( ( website ) => website . type === "website" ) ?. url ,
76+ eta_type_paysage : structure . category ?. usualNameFr ,
7177 eta_scd_esgbu :
7278 structure . identifiers
7379 ?. filter ( ( i ) => i . type === "sdid" )
@@ -92,19 +98,19 @@ export default async function exportFrEsrPaysageFonctionsGourvernance() {
9298 . sort ( ( a , b ) => a ?. startDate ?. localeCompare ( b ?. startDate ) )
9399 . map ( ( i ) => i . value )
94100 . join ( "|" ) || null ,
95- " eta_siret de la structure" :
101+ eta_siret :
96102 structure . identifiers
97103 ?. filter ( ( i ) => i . type === "siret" )
98104 . sort ( ( a , b ) => a ?. startDate ?. localeCompare ( b ?. startDate ) )
99105 . map ( ( i ) => i . value )
100106 . join ( "|" ) || null ,
101- " eta_grid de la structure" :
107+ eta_grid :
102108 structure . identifiers
103109 ?. filter ( ( i ) => i . type === "grid" )
104110 . sort ( ( a , b ) => a ?. startDate ?. localeCompare ( b ?. startDate ) )
105111 . map ( ( i ) => i . value )
106112 . join ( "|" ) || null ,
107- " eta_ror de la structure" :
113+ eta_ror :
108114 structure . identifiers
109115 ?. filter ( ( i ) => i . type === "ror" )
110116 . sort ( ( a , b ) => a ?. startDate ?. localeCompare ( b ?. startDate ) )
0 commit comments