From 1b2dfba23c205d28d5c92a33450cb1409e14d0e6 Mon Sep 17 00:00:00 2001 From: analuizaff Date: Mon, 23 Aug 2021 17:12:08 -0300 Subject: [PATCH 1/2] updating capalities-api json sample --- db/wp6.sample.capabilities-api.json | 39 +++++++++++++++++++---------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/db/wp6.sample.capabilities-api.json b/db/wp6.sample.capabilities-api.json index eeac0c3..4388aa0 100644 --- a/db/wp6.sample.capabilities-api.json +++ b/db/wp6.sample.capabilities-api.json @@ -5,39 +5,52 @@ https: //waterproofing.geog.uni-heidelberg.de/api/hot/capability "responseData": { "array_to_json": [ { - "code": "vegetation_sp_wsg84", - "name": "Vegetation_SP_WSG84 sh file", - "description": "Vegetation_SP_WSG84 shape file" + "code": "FLOODZONES_OFFICIAL", + "name": "Flooding susceptible areas", + "description": "CPRM areas with classes of susceptibility to flooding", + "source": "CPRM" }, { - "code": "FLOODZONES_FORM", - "name": "Flood Zones Form", - "description": "FloodZones Form" + "code": "PLUVIOMETERS_OFFICIAL", + "name": "Rainfall stations", + "description": "Rainfall stations", + "source": "CEMADEN" + }, + { + "code": "WEATHER_FORECAST", + "name": "Weather forecast", + "description": "Weather forecast", + "source": "" }, { - "code": "susceptibilidade_inundacao", - "name": "Áreas com Suscetibilidade a Inundação", - "description": "CPRM areas with classes of susceptibility to flooding" + "code": "FLOODZONES_FORM", + "name": "Flood Zones Form", + "description": "FloodZones Form", + "source": "citizen" }, { "code": "PLUVIOMETERS_FORM", "name": "Pluviometers", - "description": "Pluviometers Form" + "description": "Pluviometers Form", + "source": "citizen" }, { "code": "RAIN_FORM", "name": "Rain", - "description": "Rain zones Form" + "description": "Rain zones Form", + "source": "citizen" }, { "code": "RIVERFLOOD_FORM", "name": "River Flood", - "description": "River Flood Form" + "description": "River Flood Form", + "source": "citizen" }, { "code": "PLUVIOMETERS_REGISTRATION", "name": "Pluviometer registration", - "description": "Pluviometer registration" + "description": "Pluviometer registration", + "source": "citizen" } ] }, From dbb380ba13e1a5a9f6f74d093ffc22f83b440479 Mon Sep 17 00:00:00 2001 From: analuizaff Date: Mon, 23 Aug 2021 18:49:43 -0300 Subject: [PATCH 2/2] correcting typos --- db/wp6.sample.capabilities-api.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/db/wp6.sample.capabilities-api.json b/db/wp6.sample.capabilities-api.json index 4388aa0..f85ba6a 100644 --- a/db/wp6.sample.capabilities-api.json +++ b/db/wp6.sample.capabilities-api.json @@ -12,7 +12,7 @@ https: //waterproofing.geog.uni-heidelberg.de/api/hot/capability }, { "code": "PLUVIOMETERS_OFFICIAL", - "name": "Rainfall stations", + "name": "Pluviometer stations", "description": "Rainfall stations", "source": "CEMADEN" }, @@ -24,13 +24,13 @@ https: //waterproofing.geog.uni-heidelberg.de/api/hot/capability }, { "code": "FLOODZONES_FORM", - "name": "Flood Zones Form", + "name": "Flood Zones", "description": "FloodZones Form", "source": "citizen" }, { - "code": "PLUVIOMETERS_FORM", - "name": "Pluviometers", + "code": "PLUVIOMETER_FORM", + "name": "Pluviometer", "description": "Pluviometers Form", "source": "citizen" }, @@ -47,7 +47,7 @@ https: //waterproofing.geog.uni-heidelberg.de/api/hot/capability "source": "citizen" }, { - "code": "PLUVIOMETERS_REGISTRATION", + "code": "PLUVIOMETER_REGISTRATION", "name": "Pluviometer registration", "description": "Pluviometer registration", "source": "citizen" @@ -55,4 +55,4 @@ https: //waterproofing.geog.uni-heidelberg.de/api/hot/capability ] }, "success": true -} \ No newline at end of file +}