config.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "global": {
  3. "taxes": {
  4. "sales": 0.157
  5. },
  6. "prices": {
  7. "weekday": 62,
  8. "weekend": 72
  9. },
  10. "reservation_window_days": 90
  11. },
  12. "services": {
  13. "airbnb": {
  14. "name": "AirBnB",
  15. "host_account_id": "",
  16. "taxes": {
  17. "flat_tax": 4
  18. },
  19. "fees": {
  20. "commission": 0.03,
  21. "client_fee": 0.1411235955
  22. }
  23. },
  24. "booking": {
  25. "name": "Booking.com",
  26. "taxes": {
  27. "wrong": 0.145
  28. },
  29. "fees": {
  30. "commission": 0.15
  31. }
  32. }
  33. },
  34. "rules": {
  35. "fire": {
  36. "day_of": 314,
  37. "day_before": 111,
  38. "day_after": 222,
  39. "feed_name": "Fire"
  40. },
  41. "pipelines": {
  42. "this_month": {"type": "discount", "rules": ["short_notice", "fill_month", "no_single_nights"]},
  43. "future_block": {"type": "closed", "rules": ["future_block"]},
  44. "special_events": {"type": "price", "rules": ["fire"]}
  45. }
  46. },
  47. "calendars": [
  48. {
  49. "name": "Fire",
  50. "url": "webcal://cal.4114.us/fire.ics"
  51. }
  52. ],
  53. "api_url": "http://localhost:8000/"
  54. }