Skip to content

Instantly share code, notes, and snippets.

@duonoid
Last active December 24, 2015 06:39
Show Gist options
  • Save duonoid/6758510 to your computer and use it in GitHub Desktop.
Save duonoid/6758510 to your computer and use it in GitHub Desktop.
{
"schema": {
"description": "Schema for Inspections. Represents top-level inspection data.",
"attributes": {
"id": "Surrogate key",
"date": "Date of inspection",
"links": {
"inspection": "Link to inspection data"
}
}
},
"list": [
{
"id": "13",
"date": "2013-02-12",
"links": {
"detail": "/inspections/13.json"
}
},
{
"id": "12",
"date": "2013-02-05",
"links": {
"detail": "/inspections/12.json"
}
},
{
"id": "11",
"date": "2012-06-07",
"links": {
"detail": "/inspections/11.json"
}
}
],
"links": {
"self": "/facilities/1/inspections.json",
"facility": "/facilities/1.json"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment