TheFork · Schema

Reservation

RestaurantReservationsBookingDiningPoint-of-SaleMarketplace

Properties

Name Type Description
id string Reservation identifier.
restaurantId string Identifier of the restaurant.
status object
mealDate string The date and time of the meal (ISO 8601).
partySize integer Number of guests.
customer object
offer object
createdAt string
updatedAt string
View JSON Schema on GitHub

JSON Schema

thefork-b2b-reservation-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-schema.json",
  "title": "Reservation",
  "x-api-evangelist-source": "openapi/thefork-b2b-openapi.yml",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Reservation identifier.",
      "example": "rsv_8f3c2a1b"
    },
    "restaurantId": {
      "type": "string",
      "description": "Identifier of the restaurant.",
      "example": "rst_10293"
    },
    "status": {
      "$ref": "./thefork-b2b-reservation-status-schema.json"
    },
    "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",
      "description": "Number of guests.",
      "example": 4
    },
    "customer": {
      "$ref": "./thefork-b2b-customer-schema.json"
    },
    "offer": {
      "$ref": "./thefork-b2b-offer-schema.json"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "example": "2026-06-03T09:15:00Z"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "example": "2026-06-03T09:15:00Z"
    }
  }
}

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"
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.