Skip to content

Instantly share code, notes, and snippets.

@yayamamo
Created September 19, 2019 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yayamamo/43c6c15956b33340909ef0797dc8da5e to your computer and use it in GitHub Desktop.
Save yayamamo/43c6c15956b33340909ef0797dc8da5e to your computer and use it in GitHub Desktop.
Sample JSON2LS mapping.
{
"@context": [
"https://schema.org/docs/jsonldcontext.json",
{
"@vocab": "http://json2ld.mapper.tokyo/ns/",
"json2ld": "http://json2ld.mapper.tokyo/ns/",
"name": {
"@id": "schema:name"
},
"homepage": {
"@id": "json2ld:homepage"
},
"image": {
"@id": "schema:image"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment