Skip to content

Instantly share code, notes, and snippets.

@znck
Created September 1, 2015 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save znck/5612d6081812836ba78c to your computer and use it in GitHub Desktop.
Save znck/5612d6081812836ba78c to your computer and use it in GitHub Desktop.
{
"_id": "55c191fc9f9553312368df1e",
"location": [
13.0063555,
80.25238880000006
],
"name": "Prems Graama Bhojanam",
"phone": "9840062772",
"image": "http://s3-ap-southeast-1.amazonaws.com/clozerr/app/coupons-alpha/",
"fid": "5161203245370561",
"date_created": "2015-08-05T04:33:00.430Z",
"dateUpdated": "2015-08-06T13:44:12.912Z",
"settings": {
"viewState": {
"placeholder": "Coming Soon...",
"active": true
},
"sxEnabled": "false",
"billAmt": "100",
"birthday": {
"activated": "false",
"birthdayWish": "Happy birthday",
"notifyFirst": "false",
"notifyExact": "true"
},
"neighbourhoodperks": {
"distance": "1",
"activated": "false",
"message": "Free coffee.."
},
"visitreminder": {
"activated": "false",
"days": "7",
"visitMessage": "Get a Coffee free!"
},
"policy": "One stamp on a min bill of Rs 300"
},
"resource_name": "55c191fc9f9553312368df1e",
"image_base": "https://s3-ap-southeast-1.amazonaws.com/clozerr/app/coupons-alpha/",
"__v": 20,
"address": "19/90, Sardar Patel Road, Adyar, Beside GRT, Chennai, Tamil Nadu 600020",
"category": "Food",
"beacons": {
"title": "Prems Graama Bhojonam",
"message": "Check-in to claim your reward!",
"major": 49738,
"minor": 20455
},
"city": "undefined",
"description": "Prem's Graama Bhojanam brings rural India alive, complete with nutritious cooking in earthenware pots and is an already popular place with those who know.",
"visible": true,
"geofences": [],
"tags": [],
"gallery": [],
"qrcodes": [
"uWumXyDDlia1uJaIB9Yf6fVQ8cOeG5uqHfe62R8ysDtujDGFEJTPhSj4TGPQ"
],
"flags": [],
"question": [
"Food",
"Ambience",
"Quality of Service"
],
"offers_old": [
"55c191fd9f9553312368df24",
"55c191fd9f9553312368df25",
"55c191fd9f9553312368df21",
"55c193f79f9553312368df2a",
"55c193d69f9553312368df29"
],
"offers": [
{
"image": "https://s3-ap-southeast-1.amazonaws.com/clozerr/app/general/icons/welcome+reward.png",
"_id": "55c1926a9f9553312368df27",
"type": "S0",
"stamps": "1",
"caption": "Welcome Reward",
"description": "Free sweet (lunch) or free coffee (dinner)",
"params": {
"type": "welcomeReward",
"expiry": "no"
},
"__v": 0,
"unlocked": true
},
{
"image": "https://s3-ap-southeast-1.amazonaws.com/clozerr/app/general/icons/happy+hour.png",
"_id": "55c365efbd510fdc2d863fa1",
"type": "S0",
"stamps": "1",
"caption": "Happy Hour Reward",
"description": "Discount (Ask store for more info)",
"params": {
"reject_message": "Not in happy hours",
"endHour": "14",
"startHour": "0",
"type": "happyHour"
},
"__v": 0,
"unlocked": false
},
{
"_id": "55c191fd9f9553312368df22",
"type": "S1",
"caption": "1 Sadam/Sweet/Beverage Free",
"description": "Any Sadam, Sweet or Beverage Free!",
"image": "https://s3-ap-southeast-1.amazonaws.com/clozerr/app/offers/5.png",
"params": {
"unlocked": false,
"used": false,
"stamps": 5,
"type": "loyalty"
},
"unlocked": false
},
{
"_id": "55c191fd9f9553312368df23",
"type": "S1",
"caption": "1 Sadam/Sweet/Beverage Free",
"description": "Any Sadam, Sweet or Beverage Free!",
"image": "https://s3-ap-southeast-1.amazonaws.com/clozerr/app/offers/10.png",
"params": {
"unlocked": false,
"used": false,
"stamps": 10,
"type": "loyalty"
},
"unlocked": false
}
],
"offers_filled": [
{
"_id": "55c191fd9f9553312368df22",
"type": "S1",
"caption": "1 Sadam/Sweet/Beverage Free",
"description": "Any Sadam, Sweet or Beverage Free!",
"image": "https://s3-ap-southeast-1.amazonaws.com/clozerr/app/offers/5.png",
"params": {
"unlocked": false,
"used": false,
"stamps": 5,
"type": "loyalty"
},
"unlocked": false
},
{
"_id": "55c191fd9f9553312368df23",
"type": "S1",
"caption": "1 Sadam/Sweet/Beverage Free",
"description": "Any Sadam, Sweet or Beverage Free!",
"image": "https://s3-ap-southeast-1.amazonaws.com/clozerr/app/offers/10.png",
"params": {
"unlocked": false,
"used": false,
"stamps": 10,
"type": "loyalty"
},
"unlocked": false
}
],
"stamps": 0,
"visitOfferId": "55adea98c626a0bfb3a08c6d",
"rewards": [
{
"image": "https://s3-ap-southeast-1.amazonaws.com/clozerr/app/general/icons/welcome+reward.png",
"_id": "55c1926a9f9553312368df27",
"type": "S0",
"stamps": "1",
"caption": "Welcome Reward",
"description": "Free sweet (lunch) or free coffee (dinner)",
"params": {
"type": "welcomeReward",
"expiry": "no"
},
"__v": 0,
"unlocked": true
},
{
"image": "https://s3-ap-southeast-1.amazonaws.com/clozerr/app/general/icons/happy+hour.png",
"_id": "55c365efbd510fdc2d863fa1",
"type": "S0",
"stamps": "1",
"caption": "Happy Hour Reward",
"description": "Discount (Ask store for more info)",
"params": {
"reject_message": "Not in happy hours",
"endHour": "14",
"startHour": "0",
"type": "happyHour"
},
"__v": 0,
"unlocked": false
},
{
"_id": "55c191fd9f9553312368df22",
"type": "S1",
"caption": "1 Sadam/Sweet/Beverage Free",
"description": "Any Sadam, Sweet or Beverage Free!",
"image": "https://s3-ap-southeast-1.amazonaws.com/clozerr/app/offers/5.png",
"params": {
"unlocked": false,
"used": false,
"stamps": 5,
"type": "loyalty"
},
"unlocked": false
},
{
"_id": "55c191fd9f9553312368df23",
"type": "S1",
"caption": "1 Sadam/Sweet/Beverage Free",
"description": "Any Sadam, Sweet or Beverage Free!",
"image": "https://s3-ap-southeast-1.amazonaws.com/clozerr/app/offers/10.png",
"params": {
"unlocked": false,
"used": false,
"stamps": 10,
"type": "loyalty"
},
"unlocked": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment