{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chartercaptain-com/json-schema/chartercaptain-com-guest-schema.json",
  "title": "Guest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chartercaptain-com-waivers-api-openapi.yml#/components/schemas/Guest",
  "type": "object",
  "required": [
    "id",
    "rentalId",
    "firstName",
    "lastName",
    "email",
    "isCharterer",
    "waiverStatus"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "rentalId": {
      "type": "string"
    },
    "waiverTemplateId": {
      "type": [
        "string",
        "null"
      ]
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "phone": {
      "type": [
        "string",
        "null"
      ]
    },
    "isCharterer": {
      "type": "boolean"
    },
    "waiverStatus": {
      "type": "string",
      "enum": [
        "PENDING",
        "SENT",
        "SIGNED"
      ]
    },
    "waiverSentAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "waiverSignedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "signatureData": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}