Skip to content

Example JSON LD Script tag

Jeff McKenna edited this page Apr 4, 2022 · 4 revisions

Example JSON-LD inside <script> tag

<script type="application/ld+json">
  {
    "@context": {
        "@vocab": "https://schema.org/",
        "geosparql": "http://www.opengis.net/ont/geosparql#"
    },
    "@id": "http://maspawio.net/layers/geonode%3Agazi_fishing_intensity",
    "@type": "Dataset",
    "geosparql:hasGeometry": {
        "@type": "http://www.opengis.net/ont/sf#Polygon",
        "geosparql:asWKT": {
            "@type": "geosparql:wktLiteral",
            "@value": "POLYGON((39.3 -4.649999999999997, 39.3 -4.19, 39.709999999999994 -4.19, 39.709999999999994 -4.649999999999997, 39.3 -4.649999999999997))"
        },
        "geosparql:crs": {
            "@id": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
        }
    },
    "description": "This data shows high-resolution maps on fishing behavior and target resources of artisanal fishers in Gazi Kenya. The resource was developed using participatory mapping of fishing grounds using a handheld GPS mounted on selected fishing vessels. To access this resource, please contact [email protected] or [email protected]",
    "keywords": "fishing, Africa, East Africa, Kenya",
    "name": "Fishing intensity Gazi",
    "url": "http://maspawio.net/layers/geonode%3Agazi_fishing_intensity"
  }
</script>

Notes

validator

Clone this wiki locally