Skip to content

Instantly share code, notes, and snippets.

@kayaelle
Last active August 29, 2015 14:08
Show Gist options
  • Save kayaelle/a1bee995515a5c6e707f to your computer and use it in GitHub Desktop.
Save kayaelle/a1bee995515a5c6e707f to your computer and use it in GitHub Desktop.
Sample of Badge Class physical address, geolocation and online location example
{
"@context": "http://openbadges.org/standard/1.1/context",
"@type": "badgeclass",
"name":"Best Delegate: Level 1 Trainer Certification",
"description":"Successful completion of Level 1 Trainer Certification for Best Delegate",
"image":"https://images.achievery.com/badgeImages/Level_1_Trainer_Certification_1556_1.png",
"criteria":"http://app.achievery.com/badge/1556",
"tags":["Education"],
"issuer":"http://app.achievery.com/badge-issuer/1556",
"alignment":[
{
"name":"Best Delegate Trainer Certification Program",
"url":"http://qatar.thimun.org/conferences/mund",
"description":"A full description of the Best Delegate Training Program, supported by THIMUN Qatar, can be found here."
],
"extension:physicalLocations": {
"@context": "http://extension.org/context/physicalLocations",
"@type": ["extension", "http://extension.org/defs/physicalLocations" ],
"physicalLocations" : [
{
"name": "Headquarters"
"street1": "123 Test Road",
"street2": "Rm 222",
"city": "Providence",
"stateProvince": "RI",
"postalZip": "02903"
},
{
"name": "Training Room"
"street1": "321 Test Road",
"city": "Providence",
"stateProvince": "RI",
"postalZip": "02903"
}
]
},
"extension:onlineLocations": {
"@context": "http://extension.org/context/onlineLocations",
"@type": ["extension", "http://extension.org/defs/onlineLocations" ],
"onlineLocations" : [
{
"name": "Course"
"locationUrl": "http://www.applyLink"
},
"name": References",
"locationUrl": "http://www.applyLink"
}
]
},
"extension:geoLocations": {
"@context": "http://extension.org/context/geoLocations",
"@type": ["extension", "http://extension.org/defs/geoLocations" ],
"geoLocations" : [
{
"lattitude": "41.818712"
"logitude": "-71.411775"
},
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment