This gist was automatically created by the JSON-LD Playground. You can see it loaded there by visiting:
http://json-ld.org/playground#/gist/<gist id>
This gist was automatically created by the JSON-LD Playground. You can see it loaded there by visiting:
http://json-ld.org/playground#/gist/<gist id>
{} |
{ | |
"@context": [ | |
"https://raw.githubusercontent.com/dret/I-D/master/http-problem-rdf/http-problem-context.jsonld", | |
{ | |
"balance": "https://example.com/probs#balance", | |
"accounts": { | |
"@id": "https://example.com/probs#accounts", | |
"@type": "@id" | |
} | |
} | |
], | |
"type": "https://example.com/probs/out-of-credit", | |
"title": "You do not have enough credit.", | |
"detail": "Your current balance is 30, but that costs 50.", | |
"instance": "/account/12345/msgs/abc", | |
"balance": 30, | |
"accounts": [ | |
"/account/12345", | |
"/account/67890" | |
] | |
} |
{ | |
"@context": { | |
"rdfs": "http://www.w3.org/2000/01/rdf-schema#", | |
"playground": "http://json-ld.org/playground#", | |
"description": "rdfs:label", | |
"startTab": "playground:startTab", | |
"copyContext": "playground:copyContext", | |
"markup": { | |
"@id": "playground:markup", | |
"@type": "@id" | |
}, | |
"context": { | |
"@id": "playground:context", | |
"@type": "@id" | |
}, | |
"frame": { | |
"@id": "playground:frame", | |
"@type": "@id" | |
} | |
}, | |
"description": "custom attributes", | |
"startTab": "tab-compacted", | |
"copyContext": false, | |
"markup": "./markup.jsonld", | |
"context": "./context.jsonld" | |
} |