Mercantry · Schema

BookingStatus

Booking state machine position with structured outcome details.

Commerce RegistryAI AgentsMerchant DataBooking FulfillmentOpen Data

Properties

Name Type Description
booking_id string
merchant_id string
state string
failure_reason string
requested_time string
window_minutes integer
party_size integer
confirmed_time string
confirmation_code string
merchant_instructions string
needs_input_options array Merchant-offered alternatives awaiting the agent's decision (resolve via /v1/bookings/{id}/modify).
needs_input_deadline string
attempts integer
sla_deadline string Terminal state guaranteed by this time (REQ-FUL-6).
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

mercantry-org-booking-status-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mercantry-org/json-schema/mercantry-org-booking-status-schema.json",
  "title": "BookingStatus",
  "description": "Booking state machine position with structured outcome details.",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mercantry-org-openapi.json#/components/schemas/BookingStatus",
  "type": "object",
  "properties": {
    "booking_id": {
      "type": "string",
      "format": "uuid"
    },
    "merchant_id": {
      "type": "string",
      "format": "uuid"
    },
    "state": {
      "type": "string",
      "enum": [
        "pending",
        "queued",
        "in_progress",
        "needs_input",
        "confirmed",
        "failed",
        "cancelled"
      ]
    },
    "failure_reason": {
      "type": "string",
      "enum": [
        "no_answer",
        "fully_booked",
        "closed",
        "policy_mismatch",
        "merchant_declined",
        "bad_data",
        "expired_sla",
        "needs_input_timeout"
      ]
    },
    "requested_time": {
      "type": "string"
    },
    "window_minutes": {
      "type": "integer"
    },
    "party_size": {
      "type": "integer"
    },
    "confirmed_time": {
      "type": "string"
    },
    "confirmation_code": {
      "type": "string"
    },
    "merchant_instructions": {
      "type": "string"
    },
    "needs_input_options": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "time": {
            "type": "string"
          },
          "note": {
            "type": "string"
          }
        }
      },
      "description": "Merchant-offered alternatives awaiting the agent's decision (resolve via /v1/bookings/{id}/modify)."
    },
    "needs_input_deadline": {
      "type": "string"
    },
    "attempts": {
      "type": "integer"
    },
    "sla_deadline": {
      "type": "string",
      "description": "Terminal state guaranteed by this time (REQ-FUL-6)."
    },
    "created_at": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    }
  }
}

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/mercantry-org-booking-status"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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