Skip to content

Instantly share code, notes, and snippets.

@lachaib
Last active November 30, 2021 08:27
Show Gist options
  • Save lachaib/18aef43eb18eab8e3b2e57c572d6566e to your computer and use it in GitHub Desktop.
Save lachaib/18aef43eb18eab8e3b2e57c572d6566e to your computer and use it in GitHub Desktop.
Business model extract from REST API
{
"id": "5409c35a97bbc544d8e26737",
"created": 1409925979.5,
"modified": 1561335111.681374,
"code": "CS-75019",
"status": "open",
"org_id": 42,
"group_id": 23,
"name": "Corner shop",
"address_details": {
"number": "12",
"number_supplement": "bis",
"street_type": "rue",
"street_name": "du coquelicot"
},
"address": "string",
"address2": "string",
"address_full": "12 bis rue du coquelicot",
"city": "Paris",
"zipcode": "75019",
"region": "Ile-de-France",
"country": "FR",
"categories": [
"gcid:restaurant",
"gcid:fast_food_restaurant",
"gcid:hamburger_restaurant"
],
"time_slot_reference": [
"10:00-14:00"
],
"open_hours": {
"monday": [
"10:00-14:00"
],
"tuesday": [
"10:00-14:00"
],
"wednesday": [
"10:00-14:00"
],
"thursday": [
"10:00-14:00"
],
"friday": [
"10:00-14:00"
],
"saturday": [
"10:00-14:00"
],
"sunday": [
"10:00-14:00"
]
},
"specific_hours": {
"open": [
{
"starts_at": "2020-01-20",
"ends_at": "2020-01-20",
"open_hours": [
"10:00-14:00"
]
}
],
"close": [
{
"starts_at": "2020-01-20",
"ends_at": "2020-01-22"
}
]
},
"description_short": "lorem ipsum",
"description_long": "lorem ipsum dolor sit amet",
"website_url": "https://www.corner-shop.co/",
"facebook_url": "https://www.facebook.com/the-corner-shop",
"twitter_url": "https://www.twitter.com/the-corner-shop",
"google_location_id": "string",
"facebook_page_id": "string",
"national_identification_number": "string",
"logo_url": "http://example.com",
"contacts": [
{
"name": "Hubert Bonisseur de la Bath",
"email": "hubert@oss117.fr",
"phone_numbers": [
"+33302060628"
]
}
],
"photos": {
"LOGO": "http://example.com",
"primary": "http://example.com",
"secondary": [
"http://example.com"
]
},
"lat": -3.585993,
"long": 47.870341,
"subscriptions": {
"presence_management": {
"active": true
},
"review_management": {
"active": true
},
"review_booster": {
"active": false
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment