This repository has been archived by the owner on Jun 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Schema drawpush
partysalat edited this page Feb 28, 2013
·
4 revisions
Get current draw event
rest/push/news
{
"type": "object",
"$schema": "http://json-schema.org/draft-03/schema",
"required": true,
"properties": {
"amount": {
"type": "number",
"required": true
},
"brand": {
"type": "string",
"required": true
},
"date": {
"type": "number",
"required": true
},
"kegId": {
"type": "number",
"required": true
},
"type": {
"type": "string",
"required": true
},
"userId": {
"type": "number",
"required": true
},
"image": {
"type": "string",
"required": true
},
"userName": {
"type": "string",
"required": true
},
"boxId": {
"type": "number",
"required": true
}
}
}
{
"type": "DRAWING",
"image": "img/user3.png",
"date": 1355687887000,
"userId": 3,
"userName": "user-3",
"amount": 1,
"kegId": 1,
"brand": "keg-brand-1",
"boxId":1
}