Properties
| Name | Type | Description |
|---|---|---|
| phone | string | Phone Number |
| fax | string | Fax Number |
| string | Email Address |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-reservations/refs/heads/main/json-schema/hotel-booking-hotel_-contact-schema.json",
"title": "Hotel_Contact",
"description": "Contact Details",
"type": "object",
"properties": {
"phone": {
"type": "string",
"description": "Phone Number",
"example": "+33679278416",
"minLength": 2,
"maxLength": 90,
"pattern": "^[+][1-9][0-9]{4,18}$"
},
"fax": {
"type": "string",
"description": "Fax Number",
"example": "+33679278417",
"minLength": 2,
"maxLength": 90,
"pattern": "^[+][1-9][0-9]{4,18}$"
},
"email": {
"type": "string",
"description": "Email Address",
"format": "email",
"example": "hotel@brand.com",
"minLength": 3,
"maxLength": 90,
"pattern": "^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$"
}
},
"required": [
"fax"
]
}