Agentbookable · Schema

BookingDraft

The proposal to show the user. Consequential fields are immutable; consent binds to this exact content (draftHash).

BookingArtificial IntelligenceSchedulingIntegrationAutomationCompany

Properties

Name Type Description
id string
businessId string
serviceId string
serviceName string
start string
end string
durationMinutes integer
timezone string
staffId stringnull
customer object
requirements object
expiresAt string Drafts expire after 30 minutes
View JSON Schema on GitHub

JSON Schema

agentbookable-com-booking-draft-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentbookable-com/json-schema/agentbookable-com-booking-draft-schema.json",
  "title": "BookingDraft",
  "description": "The proposal to show the user. Consequential fields are immutable; consent binds to this exact content (draftHash).",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentbookable-com-openapi.json#/components/schemas/BookingDraft",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "businessId": {
      "type": "string"
    },
    "serviceId": {
      "type": "string"
    },
    "serviceName": {
      "type": "string"
    },
    "start": {
      "type": "string"
    },
    "end": {
      "type": "string"
    },
    "durationMinutes": {
      "type": "integer"
    },
    "timezone": {
      "type": "string"
    },
    "staffId": {
      "type": [
        "string",
        "null"
      ]
    },
    "customer": {
      "$ref": "#/$defs/customer"
    },
    "requirements": {
      "$ref": "#/$defs/BookingRequirements"
    },
    "expiresAt": {
      "type": "string",
      "description": "Drafts expire after 30 minutes"
    }
  },
  "$defs": {
    "BookingRequirements": {
      "type": "object",
      "description": "What the agent must collect from the user BEFORE booking. Contact requirements are provider-derived; AgentBookable never reveals which provider.",
      "properties": {
        "name": {
          "type": "string",
          "enum": [
            "required",
            "optional"
          ],
          "description": "Customer name."
        },
        "email": {
          "type": "string",
          "enum": [
            "required",
            "optional"
          ],
          "description": "Customer email."
        },
        "phone": {
          "type": "string",
          "enum": [
            "required",
            "optional"
          ],
          "description": "Customer phone. 'required' means the booking is rejected without one — collect it first."
        },
        "payment": {
          "type": "boolean",
          "description": "True when payment is required to confirm."
        }
      }
    }
  }
}

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/agentbookable-com-booking-draft"
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 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. See our Privacy Policy and Terms.

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