xavio-in · Schema

Booking

A booking on one of your services. `contact` appears only with the customers:pii scope.

CompanyPlaceholder

Properties

Name Type Description
id string
object string
booking_listing_id string
drawer_host_id stringnull
preferred_at string
status string
payment_status stringnull
created_at string
confirmed_at stringnull
cancelled_by stringnull
host_notes stringnull The seller's private note.
contact object customers:pii ONLY (absent otherwise): what the customer typed when booking. Never their email, account id or magic-link token.
View JSON Schema on GitHub

JSON Schema

xavio-in-booking-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xavio-in/json-schema/xavio-in-booking-schema.json",
  "title": "Booking",
  "description": "A booking on one of your services. `contact` appears only with the customers:pii scope.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xavio-in-bookings-api-openapi.yml#/components/schemas/Booking",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "object": {
      "type": "string",
      "enum": [
        "booking"
      ]
    },
    "booking_listing_id": {
      "type": "string",
      "format": "uuid"
    },
    "drawer_host_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "preferred_at": {
      "type": "string",
      "format": "date-time"
    },
    "status": {
      "type": "string",
      "enum": [
        "new",
        "confirmed",
        "rescheduled",
        "completed",
        "no_show",
        "cancelled"
      ]
    },
    "payment_status": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "confirmed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "cancelled_by": {
      "type": [
        "string",
        "null"
      ]
    },
    "host_notes": {
      "type": [
        "string",
        "null"
      ],
      "description": "The seller's private note."
    },
    "contact": {
      "type": "object",
      "description": "customers:pii ONLY (absent otherwise): what the customer typed when booking. Never their email, account id or magic-link token.",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "phone": {
          "type": [
            "string",
            "null"
          ]
        },
        "notes": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  },
  "required": [
    "id",
    "object",
    "booking_listing_id",
    "drawer_host_id",
    "preferred_at",
    "status",
    "payment_status",
    "created_at",
    "confirmed_at",
    "cancelled_by",
    "host_notes"
  ]
}

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/xavio-in-booking"
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. See our Privacy Policy and Terms.

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