{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aegeanbot-com/json-schema/aegeanbot-com-booking-in-schema.json",
  "title": "BookingIn",
  "description": "A direct/manual booking the owner enters themselves. OTA bookings arrive\nvia the Channex feed, not this endpoint.",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pms-aegeanbot-com-openapi.json#/components/schemas/BookingIn",
  "properties": {
    "unit_id": {
      "type": "string",
      "title": "Unit Id"
    },
    "rate_plan_id": {
      "type": "string",
      "title": "Rate Plan Id"
    },
    "checkin": {
      "type": "string",
      "format": "date",
      "title": "Checkin"
    },
    "checkout": {
      "type": "string",
      "format": "date",
      "title": "Checkout"
    },
    "amount": {
      "type": "number",
      "title": "Amount"
    },
    "currency": {
      "type": "string",
      "title": "Currency",
      "default": "EUR"
    },
    "guest_name": {
      "type": "string",
      "title": "Guest Name",
      "default": ""
    },
    "channel": {
      "type": "string",
      "title": "Channel",
      "default": "direct"
    }
  },
  "type": "object",
  "required": [
    "unit_id",
    "rate_plan_id",
    "checkin",
    "checkout",
    "amount"
  ]
}