core/tests/fixtures/nws-weather-fore-valid.json

81 lines
2.6 KiB
JSON

{
"@context": [
"https://raw.githubusercontent.com/geojson/geojson-ld/master/contexts/geojson-base.jsonld",
{
"wx": "https://api.weather.gov/ontology#",
"geo": "http://www.opengis.net/ont/geosparql#",
"unit": "http://codes.wmo.int/common/unit/",
"@vocab": "https://api.weather.gov/ontology#"
}
],
"type": "Feature",
"geometry": {
"type": "GeometryCollection",
"geometries": [
{
"type": "Point",
"coordinates": [
-85.014692800000006,
39.993574700000003
]
},
{
"type": "Polygon",
"coordinates": [
[
[
-85.027968599999994,
40.005368300000001
],
[
-85.0300814,
39.983399599999998
],
[
-85.001420100000004,
39.981779299999999
],
[
-84.999301200000005,
40.0037479
],
[
-85.027968599999994,
40.005368300000001
]
]
]
}
]
},
"properties": {
"updated": "2019-08-12T23:17:40+00:00",
"units": "us",
"forecastGenerator": "BaselineForecastGenerator",
"generatedAt": "2019-08-13T00:33:19+00:00",
"updateTime": "2019-08-12T23:17:40+00:00",
"validTimes": "2019-08-12T17:00:00+00:00/P8DT6H",
"elevation": {
"value": 366.06479999999999,
"unitCode": "unit:m"
},
"periods": [
{
"number": 1,
"name": "Tonight",
"startTime": "2019-08-12T20:00:00-04:00",
"endTime": "2019-08-13T06:00:00-04:00",
"isDaytime": false,
"temperature": 70,
"temperatureUnit": "F",
"temperatureTrend": null,
"windSpeed": "7 to 13 mph",
"windDirection": "S",
"icon": "https://api.weather.gov/icons/land/night/tsra,40/tsra,90?size=medium",
"shortForecast": "Showers And Thunderstorms",
"detailedForecast": "A detailed forecast."
}
]
}
}