TheFork · Schema

Order

RestaurantReservationsBookingDiningPoint-of-SaleMarketplace

Properties

Name Type Description
orderId string TheFork's UUID for the order.
createdAt string ISO 8601 timestamp when the order was opened.
reservationStatus object
partySize integer Number of guests.
startTime string Scheduled meal start time (ISO 8601).
customer object
prepayment object
offer object
tables array
View JSON Schema on GitHub

JSON Schema

thefork-pos-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thefork/main/json-schema/thefork-pos-order-schema.json",
  "title": "Order",
  "x-api-evangelist-source": "openapi/thefork-pos-openapi.yml",
  "type": "object",
  "required": [
    "orderId",
    "createdAt",
    "reservationStatus",
    "partySize",
    "startTime"
  ],
  "properties": {
    "orderId": {
      "type": "string",
      "format": "uuid",
      "description": "TheFork's UUID for the order.",
      "example": "2c1f7e90-1a2b-4c3d-8e9f-0a1b2c3d4e5f"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the order was opened.",
      "example": "2026-06-20T20:35:00Z"
    },
    "reservationStatus": {
      "$ref": "./thefork-pos-reservation-status-schema.json"
    },
    "partySize": {
      "type": "integer",
      "description": "Number of guests.",
      "example": 4
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "Scheduled meal start time (ISO 8601).",
      "example": "2026-06-20T20:30:00Z"
    },
    "customer": {
      "$ref": "./thefork-pos-customer-schema.json"
    },
    "prepayment": {
      "$ref": "./thefork-pos-money-schema.json"
    },
    "offer": {
      "$ref": "./thefork-pos-offer-schema.json"
    },
    "tables": {
      "type": "array",
      "items": {
        "$ref": "./thefork-pos-table-schema.json"
      }
    }
  }
}

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