Skip to content

Instantly share code, notes, and snippets.

@himanshu-dixit
Last active June 29, 2021 12:56
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 himanshu-dixit/5c33f70996e95239a53d19a7d35d38ce to your computer and use it in GitHub Desktop.
Save himanshu-dixit/5c33f70996e95239a53d19a7d35d38ce to your computer and use it in GitHub Desktop.
{
"name":{
"value":"test name",
"editable":false
},
"isSpecialSchedule":{
"value":true,
"editable":false
},
"applicableDays":[
"monday",
"tuesday"
],
"dateRange":{
"value":{
"startDate":"2021-06-29",
"endDate":"2021-07-14"
},
"editable":false
},
"isFixedEntryType":{
"value":true,
"editable":false
},
"isFixedDurationType":{
"value":true,
"editable":false
},
"duration":{
"value":{
"hrs":0,
"mins":0
},
"editable":false
},
"timeSlots":{
"sunday":[
],
"monday":[
{
"initialTime":"11:00:00"
},
{
"initialTime":"13:00:00"
}
],
"tuesday":[
{
"initialTime":"11:00:00"
},
{
"initialTime":"13:00:00"
}
],
"wednesday":[
],
"thursday":[
],
"friday":[
],
"saturday":[
]
},
"operatingHours":{
"sunday":{
},
"monday":{
"initialTime":"11:00:00",
"endTime":"14:00:00"
},
"tuesday":{
"initialTime":"11:00:00",
"endTime":"14:00:00"
},
"wednesday":{
},
"thursday":{
},
"friday":{
},
"saturday":{
}
}
}{
"stage":3,
"inventoryType":"PAX",
"firstStage":{
"name":{
"value":"test name",
"editable":false
},
"isSpecialSchedule":{
"value":true,
"editable":false
},
"applicableDays":[
"monday",
"tuesday"
],
"dateRange":{
"value":{
"startDate":"2021-06-29",
"endDate":"2021-07-14"
},
"editable":false
},
"isFixedEntryType":{
"value":true,
"editable":false
},
"isFixedDurationType":{
"value":true,
"editable":false
},
"duration":{
"value":{
"hrs":0,
"mins":0
},
"editable":false
},
"timeSlots":{
"sunday":[
],
"monday":[
{
"initialTime":"11:00:00"
},
{
"initialTime":"13:00:00"
}
],
"tuesday":[
{
"initialTime":"11:00:00"
},
{
"initialTime":"13:00:00"
}
],
"wednesday":[
],
"thursday":[
],
"friday":[
],
"saturday":[
]
},
"operatingHours":{
"sunday":{
},
"monday":{
"initialTime":"11:00:00",
"endTime":"14:00:00"
},
"tuesday":{
"initialTime":"11:00:00",
"endTime":"14:00:00"
},
"wednesday":{
},
"thursday":{
},
"friday":{
},
"saturday":{
}
}
},
"secondStage":{
"paxPrice":[
{
"paxType":{
"value":"Adult"
},
"description":{
"value":""
},
"ageRange":{
"start":{
"value":"10"
},
"end":{
"value":"9"
}
},
"price":{
"discount":{
"value":0
},
"retail":{
"value":0
},
"listingPrice":{
"value":0
}
}
},
{
"paxType":{
"value":"Child"
},
"description":{
"value":""
},
"ageRange":{
"start":{
"value":"10"
},
"end":{
"value":"9"
}
},
"price":{
"discount":{
"value":0
},
"retail":{
"value":0
},
"listingPrice":{
"value":0
}
}
}
],
"groupPrice":[
]
},
"thirdStage":{
"paxInventory":[
{
"paxType":"Adult",
"mappedTo":{
"value":null
},
"defaultAvailabilityType":{
"value":"UNLIMITED"
},
"inventoryCount":{
"value":""
},
"minPax":{
"value":100
},
"maxPax":{
"value":100
}
},
{
"paxType":"Child",
"mappedTo":{
"value":null
},
"defaultAvailabilityType":{
"value":"LIMITED"
},
"inventoryCount":{
"value":""
},
"minPax":{
"value":"5"
},
"maxPax":{
"value":"10"
}
}
],
"groupInventory":[
]
}
}
@himanshu-dixit
Copy link
Author

cv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment