Skip to content

Instantly share code, notes, and snippets.

@kevburnsjr
Created September 13, 2009 14:50
Show Gist options
  • Save kevburnsjr/186206 to your computer and use it in GitHub Desktop.
Save kevburnsjr/186206 to your computer and use it in GitHub Desktop.
GET http://domain.tld/issues.json+schema
Status=OK - 200
Content-Type=application/json+schema; schema=http://json-schema.org/schema
{
"description" : "Schema for Resource Issue.",
"type" : "Issue",
"properties" : {
"id" : {
"type" : "integer"
},
"slug" : {
"type" : "string"
},
"title" : {
"type" : "string"
},
"created_by" : {
"type" : "integer"
},
"created_at" : {
"type" : "integer",
"format" : "date-time"
},
"updated_at" : {
"type" : "integer",
"format" : "date-time"
},
"visible" : {
"type" : "boolean"
},
"active" : {
"type" : "boolean"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment