Skip to content

Instantly share code, notes, and snippets.

@davideicardi
Last active November 18, 2015 16:01
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 davideicardi/94e9f338a11328061e42 to your computer and use it in GitHub Desktop.
Save davideicardi/94e9f338a11328061e42 to your computer and use it in GitHub Desktop.
Json-ld experiments
{
"@context": {
"@vocab": "http://schema.org/",
"myCustomProperty": null,
"@base": "https://gist.github.com/davideicardi/94e9f338a11328061e42",
"slug": "@id",
"type": "@type"
},
"slug": "people",
"type": "DataFeed",
"name": "Company directory",
"dataFeedElement": [
{
"slug": "alice",
"type": "Person",
"name": "Alice",
"email": "alice@example.com"
},
{
"slug": "bob",
"type": "Person",
"name": "Bob",
"myCustomProperty": "ciao"
},
{
"slug": "subDirectory",
"type": "DataFeed",
"name": "Team directory"
}
]
}
{
"@context": {
"@vocab": "http://schema.org/",
"@base": "https://gist.github.com/davideicardi/94e9f338a11328061e42",
"slug": "@id",
"type": "@type"
},
"slug": "subDirectory",
"type": "DataFeed",
"name": "Team directory",
"dataFeedElement": [
{
"slug": "davide",
"type": "Person",
"name": "Davide",
"email": "Davide@example.com"
},
{
"slug": "paolo",
"type": "Person",
"name": "Paolo",
"email": "paolo@example.com"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment