Skip to content

Commit

Permalink
Fix class for fiware data
Browse files Browse the repository at this point in the history
  • Loading branch information
keichan34 committed Mar 27, 2023
1 parent 77b490c commit c22fcf9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/catalog-tsv-to-api.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async function main() {
type: "DataItem",
id,
name: dataName,
class: className,
class: dataName, // className is empty for FIWARE, so use dataName instead.
liveLocationId: fiwareName,
metadata: {},
});
Expand Down
12 changes: 6 additions & 6 deletions public/api/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,47 +1055,47 @@
"type": "DataItem",
"id": "防災情報/IoT センサー/冠水状況",
"name": "冠水状況",
"class": "",
"class": "冠水状況",
"liveLocationId": "FloodSituation",
"metadata": {}
},
{
"type": "DataItem",
"id": "防災情報/IoT センサー/降雨量",
"name": "降雨量",
"class": "",
"class": "降雨量",
"liveLocationId": "Rainfall",
"metadata": {}
},
{
"type": "DataItem",
"id": "防災情報/IoT センサー/水位",
"name": "水位",
"class": "",
"class": "水位",
"liveLocationId": "WaterLevel",
"metadata": {}
},
{
"type": "DataItem",
"id": "防災情報/IoT センサー/水位(県防災)",
"name": "水位(県防災)",
"class": "",
"class": "水位(県防災)",
"liveLocationId": "PrefectureWaterLevel",
"metadata": {}
},
{
"type": "DataItem",
"id": "防災情報/IoT センサー/潮位",
"name": "潮位",
"class": "",
"class": "潮位",
"liveLocationId": "TideLevel",
"metadata": {}
},
{
"type": "DataItem",
"id": "防災情報/IoT センサー/潮位(県防災)",
"name": "潮位(県防災)",
"class": "",
"class": "潮位(県防災)",
"liveLocationId": "PrefectureTideLevel",
"metadata": {}
}
Expand Down

0 comments on commit c22fcf9

Please sign in to comment.