Last active
May 29, 2020 13:31
-
-
Save fils/8738793069ae18fc368f04b2ace7118d to your computer and use it in GitHub Desktop.
Test JSON-LD with many spatial elements in array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@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