Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. {
  2. "entries": [
  3. {
  4. type: "daily",
  5. mode: "add",
  6. data: {
  7. days: [0],
  8. times: [
  9. {
  10. from: "9:00",
  11. to: "12:00",
  12. },
  13. {
  14. from: "13:00",
  15. to: "20:00",
  16. }
  17. ]
  18. }
  19. },
  20. {
  21. type: "daily",
  22. mode: "add",
  23. data: {
  24. days: [1],
  25. times: [
  26. {
  27. from: "9:00",
  28. to: "12:00",
  29. },
  30. {
  31. from: "13:00",
  32. to: "20:00",
  33. }
  34. ]
  35. }
  36. },
  37. //...
  38. {
  39. type: "daily",
  40. mode: "add",
  41. data: {
  42. days: [6],
  43. times: [
  44. {
  45. from: "9:00",
  46. to: "12:00",
  47. },
  48. {
  49. from: "13:00",
  50. to: "20:00",
  51. }
  52. ]
  53. }
  54. },
  55. // exceptions
  56. {
  57. type: "day",
  58. mode: "subtract",
  59. data: {
  60. date: "2019-09-12"
  61. }
  62. }
  63. ]
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement