Skip to content

Instantly share code, notes, and snippets.

@fils
Last active May 29, 2020 13:31
Show Gist options
  • Save fils/8738793069ae18fc368f04b2ace7118d to your computer and use it in GitHub Desktop.
Save fils/8738793069ae18fc368f04b2ace7118d to your computer and use it in GitHub Desktop.
Test JSON-LD with many spatial elements in array
{
"@context": "https://schema.org/",
"@type": "Dataset",
"name": "DS1",
"url": "http://www.foo.com/1",
"spatialCoverage": {
"@type": "Place",
"geo": [
{
"@type": "GeoCoordinates",
"latitude": -17.65,
"longitude": 50
},
{
"@type": "GeoCoordinates",
"latitude": -19,
"longitude": 51
},
{
"@type": "GeoShape",
"line": "39.3280,20.1633 40.445,23.7878"
},
{
"@type": "GeoShape",
"polygon": "39.3280 120.1633 40.445 123.7878 41 121 39.77 122.42 39.3280 120.1633"
},
{
"@type": "GeoShape",
"box": "39.3280 120.1633 40.445 123.7878"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment