Skip to content

Instantly share code, notes, and snippets.

@jaksm
Created July 24, 2019 15:02
Show Gist options
  • Save jaksm/6358de0ddbb54e34939c0a17c2ad668a to your computer and use it in GitHub Desktop.
Save jaksm/6358de0ddbb54e34939c0a17c2ad668a to your computer and use it in GitHub Desktop.
`{
"ageRanges": ["0-5", "5-10"],
"genders": ["Male", "Female"],
"languages": ["en-EN"],
"serviceOptions": [],
"localTopics": [
"history",
"parks",
"city tours",
"nature tours",
"art",
"fun",
"creative",
"music",
"sports",
"unique",
"food",
"drinks",
"photography",
"secret",
"business",
"hedonism",
"sightseeing",
"local cuisine",
"other"
],
"user": {
"id": 1,
"firstName": "John",
"lastName": "Doe",
"hobbies": ["reading", "games"]
},
"tourist": {
"bookedTours": [
{
"id": 1,
"name": "DisneyLand",
"location": "Paris, France",
"description": "Available on every Tuesday, Wednesday and suitable for 25-36 age groups. Some Additional Text so it can appear longer then it should.",
"date": "01.01.2019 19:30",
"price": "$50",
"guide": "Mickey Mouse",
"rating": 4,
"ended": false,
"image": "/api/nesto.jpg"
}
],
"notifications": [
{
"id": 1,
"name": "example notif",
"description": "Available on every Tuesday, Wednesday and suitable for 25-36 age groups",
"type": "success",
"rating": 4,
"image": "/api/nesto.jpg"
},
{
"id": 2,
"name": "Heyo",
"description": "Someone wants to connect",
"date": "01.01.2019 19:30",
"rating": 4,
"image": "/api/nesto.jpg"
}
],
"messages": [
{
"id": 1,
"tour": {
"id": 1,
"title": "Disneyland",
"image": "/api/nesto.jpg"
},
"user": {
"id": 2,
"name": "Superman",
"image": "/api/nesto.jpg"
},
"unread": 5,
"lastMessage": {
"id": 1,
"timestamp": 1481748965123,
"author": {
"userId": 1,
"name": "Johnny Donny",
"image": "/api/nesto.jpg"
},
"text": "Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! Heyo! "
}
}
],
"chat": [
{
"id": 1,
"author": {
"userId": 1,
"name": "Johnny Donny",
"image": "/api/nesto.jpg"
},
"messages": ["Heyo!", "Wait, dont", "Hang"]
}
],
"tours": [
{
"id": 1,
"name": "DisneyLand",
"location": "Paris, France",
"description": "Available on every Tuesday, Wednesday and suitable for 25-36 age groups. Some Additional Text so it can appear longer then it should.",
"date": "01.01.2019 19:30",
"price": "$50",
"guide": "Mickey Mouse",
"rating": 4,
"image": "/api/nesto.jpg"
}
],
"guides": [
{
"id": 1,
"name": "Jhonny Donny",
"location": "Belgrade",
"rating": 3,
"image": "/api/nesto.jpg"
}
],
"tourDetails": {
"name": "DisneyLand",
"location": "Paris, France",
"description": "Available on every Tuesday, Wednesday and suitable for 25-36 age groups. Some Additional Text so it can appear longer then it should.",
"date": "01.01.2019 19:30",
"price": "$50",
"guide": {
"id": 1,
"name": "Mickey Mouse"
},
"rating": 4,
"images": ["/api/nesto.jpg"],
"localTopics": ["History", "Nature Tours"],
"services": ["Cycling", "Running"],
"languages": ["French", "English"],
"groupSize": "5-14",
"availability": {
"mon": [],
"tue": ["10:00"],
"wen": ["10:00"],
"thu": ["10:00"],
"fri": ["10:00"],
"sat": ["10:00"],
"sun": ["10:00", "12:00", "14:00"]
}
},
"guideDetails": {
"id": 5,
"name": "Neo",
"bio": "I am a supercool tour guide from a very fancy city. We like JavaScript and hate stupid long sentences that we need to make up. Lorem ipsum tho. It's cool... Seriously...",
"location": "Matrix",
"rating": 5,
"image": "/api/nesto.jpg",
"tours": [
{
"id": 1,
"name": "Night Life of Belgrade",
"location": "Belgrade, Serbia",
"rating": 1,
"image": "/api/nesto.jpg"
}
],
"ratings": [
{
"id": 1,
"tour": {
"id": 1,
"name": "Night Life of Belgrade"
},
"user": {
"id": 2,
"name": "John Doe",
"image": "/api/nesto.jpg"
},
"rating": 2,
"comment": "Top, recommending",
"date": "15/1/2019"
}
]
},
"tourFilters": {},
"guideFilters": {}
},
"guide": {
"bookedTours": [],
"notifications": [],
"messages": [],
"chat": [],
"myTours": [
{
"id": 1,
"name": "DisneyLand",
"location": "Paris, France",
"description": "Available on every Tuesday, Wednesday and suitable for 25-36 age groups. Some Additional Text so it can appear longer then it should.",
"date": "01.01.2019 19:30",
"price": "$50",
"guide": "Mickey Mouse",
"rating": 4,
"image": "/api/nesto.jpg"
}
],
"tourDetails": [],
"touristDetails": {
"id": 5,
"name": "Neo",
"location": "Matrix",
"rating": 5,
"image": "/api/nesto.jpg",
"ratings": [
{
"id": 1,
"user": {
"id": 2,
"name": "John Doe"
},
"rating": 4,
"comment": "Top, recommending",
"date": "15/1/2019"
},
{
"id": 2,
"user": {
"id": 2,
"name": "John Doe"
},
"rating": 4,
"comment": "Top, recommending",
"date": "15/1/2019"
}
]
}
}
}
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment