Skip to content

Instantly share code, notes, and snippets.

@kayaelle
Last active August 29, 2015 14:09
Show Gist options
  • Save kayaelle/c0d9c23bc53501000ab5 to your computer and use it in GitHub Desktop.
Save kayaelle/c0d9c23bc53501000ab5 to your computer and use it in GitHub Desktop.
Example Badge Class with Geolocation Extension
{
"@context": "https://gist.githubusercontent.com/ottonomy/c293b451dfe18e6d20b6/raw/c4c3c0290adbe59d7111be65cedc2d3082b8ea20/gistfile1.jsonld",
"@type": "badgeclass",
"name": "Thank You Badge",
"description": "This badge signifies gratitude.",
"image":"https://images.achievery.com/badgeImages/81_kbp2oahvkr4tpgb9.png",
"criteria":"https://app.achievery.com/badge/81",
"tags":["Education"],
"issuer":"https://app.achievery.com/badge-issuer/81",
"extension:geoLocations": {
"@context": "https://gist.github.com/kayaelle/c154a671cac8216eee43",
"@type": ["extension", "https://gist.github.com/kayaelle/bf14f520407f351a2e20" ],
"geoLocations" : [
{
"latitude": "41.818712"
"longitude": "-71.411775"
},
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment