TheFork · Schema

ReservationCreateRequest

RestaurantReservationsBookingDiningPoint-of-SaleMarketplace

Properties

Name Type Description
mealDate string The date and time of the meal (ISO 8601).
partySize integer Number of guests.
customer object
offerId string Identifier of an applied offer, if any.
menuId string Identifier of a selected preset menu, if any.
notes string Free-text note attached to the reservation.
View JSON Schema on GitHub

JSON Schema

thefork-b2b-reservation-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thefork/main/json-schema/thefork-b2b-reservation-create-request-schema.json",
  "title": "ReservationCreateRequest",
  "x-api-evangelist-source": "openapi/thefork-b2b-openapi.yml",
  "type": "object",
  "required": [
    "mealDate",
    "partySize",
    "customer"
  ],
  "properties": {
    "mealDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time of the meal (ISO 8601).",
      "example": "2026-06-20T20:30:00Z"
    },
    "partySize": {
      "type": "integer",
      "minimum": 1,
      "description": "Number of guests.",
      "example": 4
    },
    "customer": {
      "$ref": "./thefork-b2b-customer-input-schema.json"
    },
    "offerId": {
      "type": "string",
      "description": "Identifier of an applied offer, if any.",
      "example": "off_summer25"
    },
    "menuId": {
      "type": "string",
      "description": "Identifier of a selected preset menu, if any.",
      "example": "menu_tasting"
    },
    "notes": {
      "type": "string",
      "description": "Free-text note attached to the reservation.",
      "example": "Window table if possible."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/thefork-b2b-reservation-create-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.