Raw schema
{
"type": "object",
"properties": {
"shopId": {
"type": "string",
"description": "エキテン店舗ID。必須。"
},
"reservationDate": {
"type": "string",
"description": "予約日。必須。YYYY-MM-DD 形式。"
},
"reservationTime": {
"type": "string",
"description": "予約時間。必須。HH:MM 形式。"
},
"lastName": {
"type": "string",
"description": "予約者の姓。必須。"
},
"firstName": {
"type": "string",
"description": "予約者の名。必須。"
},
"lastNameKana": {
"type": "string",
"description": "予約者の姓(ふりがな)。必須。"
},
"firstNameKana": {
"type": "string",
"description": "予約者の名(ふりがな)。必須。"
},
"phone": {
"type": "string",
"description": "電話番号。必須。ハイフンなし。携帯・IP電話(070/080/090/050等)は11桁、固定電話(03/06等)は10桁。形式: ^(0[5-9]0[0-9]{8}|0[1-9][1-9][0-9]{7})$"
},
"headcount": {
"type": [
"null",
"integer"
],
"default": null,
"description": "予約人数。tableUnit(グルメ向け)かつ headcountBreakdownEnabled: false(内訳なし)の場合のみ必須。それ以外(timeUnit、または内訳ありの場合)はトルツメ"
},
"headcountBreakdown": {
"type": [
"array",
"null"
],
"description": "来店人数の内訳。tableUnit かつ headcountBreakdownEnabled: true(内訳あり)の場合のみ必須。キーは headcountBreakdownItems[].itemKey、値は各内訳の人数(integer)。合計人数は get_availability の headcountBreakdownMax が上限。それ以外はトルツメ。例:{\"adult\": 2, \"child\": 1}",
"default": null,
"items": {}
},
"menuId": {
"type": [
"null",
"string"
],
"default": null,
"description": "メニューID。予約在庫状況取得ツール(get_availability)で取得した menus[] から選択したメニューの menuId を指定する。同ツールの menuSelectionRequired が true の場合は必須(false の場合は省略可)"
},
"staffId": {
"type": [
"null",
"string"
],
"default": null,
"description": "スタッフID。reservationType が timeUnit(全ジャンル向け)のみ有効。省略可(指名なし)。tableUnit(グルメ向け)の場合はトルツメ"
},
"couponId": {
"type": [
"null",
"string"
],
"default": null,
"description": "クーポンID。省略可"
},
"smokingPreference": {
"type": [
"null",
"string"
],
"default": null,
"description": "禁煙/喫煙希望。reservationType が tableUnit(グルメ向け)かつ smokingSetting が separate(分煙)の場合のみ有効・必須。それ以外の場合はトルツメ",
"enum": [
"noSmoking",
"smoking",
"noPreference"
]
},
"email": {
"type": [
"null",
"string"
],
"default": null,
"description": "メールアドレス。未ログイン時は必須。ログイン済みの場合は省略可(会員登録済みアドレスを使用)"
},
"note": {
"type": [
"null",
"string"
],
"default": null,
"description": "お店へのご要望。省略可(上限2000文字)"
}
},
"required": [
"shopId",
"reservationDate",
"reservationTime",
"lastName",
"firstName",
"lastNameKana",
"firstNameKana",
"phone"
]
}