{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aegeanbot-com/json-schema/aegeanbot-com-public-booking-in-schema.json",
  "title": "PublicBookingIn",
  "description": "A guest booking from the public direct-booking site. No auth; slug-scoped.\nAmount is computed server-side from the calendar, never trusted from client.",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pms-aegeanbot-com-openapi.json#/components/schemas/PublicBookingIn",
  "properties": {
    "checkin": {
      "type": "string",
      "format": "date",
      "title": "Checkin"
    },
    "checkout": {
      "type": "string",
      "format": "date",
      "title": "Checkout"
    },
    "guest_name": {
      "type": "string",
      "title": "Guest Name"
    },
    "guest_email": {
      "type": "string",
      "title": "Guest Email"
    },
    "guest_phone": {
      "type": "string",
      "title": "Guest Phone",
      "default": ""
    },
    "guests": {
      "type": "integer",
      "title": "Guests",
      "default": 1
    },
    "attribution_search_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Attribution Search Id"
    }
  },
  "type": "object",
  "required": [
    "checkin",
    "checkout",
    "guest_name",
    "guest_email"
  ]
}