Created
November 3, 2014 14:18
-
-
Save msporny/d0e1709ebaa229bd9573 to your computer and use it in GitHub Desktop.
Example of http-problem in JSON-LD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": ["https://ietf.org/contexts/http-problem/v1", "https://example.com/contexts/my-extension/v1"], | |
"type": ["HttpProblem", "OutOfCredit"], | |
"title": "You do not have enough credit.", | |
"detail": "Your current balance is 30, but that costs 50.", | |
"instance": "http://example.net/account/12345/msgs/abc", | |
"balance": 30, | |
"accounts": ["http://example.net/account/12345", "http://example.net/account/67890"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment