{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/spoton/refs/heads/main/json-structure/reserve-customer-information-structure.json",
  "name": "CustomerInformation",
  "description": "Guest contact and identity details for a reservation or waitlist entry.",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "description": "Optional existing customer identifier."
    },
    "firstName": {
      "type": "string",
      "description": "Guest first name."
    },
    "lastName": {
      "type": "string",
      "description": "Guest last name."
    },
    "phoneNumber": {
      "type": "string",
      "description": "Guest phone number."
    },
    "email": {
      "type": "string",
      "description": "Guest email address."
    },
    "imageUrl": {
      "type": "uri",
      "description": "Optional URL of a guest image."
    },
    "memberNumber": {
      "type": "string",
      "description": "Optional loyalty member number."
    },
    "memberTier": {
      "type": "string",
      "description": "Optional loyalty member tier."
    }
  },
  "required": [
    "firstName",
    "phoneNumber"
  ]
}