xavio-in · Schema

BookingListingCreateRequest

POST /api/v1/booking-listings body — the dashboard form, with the database limits enforced up front: duration_min 5–240, button_label 2–40 characters, timezone a real IANA zone, hours_to after hours_from. fee_rupees is in whole rupees. drawer_host_id is optional when you own exactly one storefront (none → 400 no_host; several → 400 ambiguous_host; someone else's → 404 not_found). The API never creates a storefront for you.

CompanyPlaceholder

Properties

Name Type Description
title string
description string
duration_min integer
fee_rupees number
currency string
hours_from string
hours_to string
weekdays array
lead_time_hours integer
instant_book boolean
collect_payment boolean
deposit_pct integer
button_label string
is_active boolean
provider_kind string
timezone string
drawer_host_id string
View JSON Schema on GitHub

JSON Schema

xavio-in-booking-listing-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xavio-in/json-schema/xavio-in-booking-listing-create-request-schema.json",
  "title": "BookingListingCreateRequest",
  "description": "POST /api/v1/booking-listings body — the dashboard form, with the database limits enforced up front: duration_min 5–240, button_label 2–40 characters, timezone a real IANA zone, hours_to after hours_from. fee_rupees is in whole rupees. drawer_host_id is optional when you own exactly one storefront (none → 400 no_host; several → 400 ambiguous_host; someone else's → 404 not_found). The API never creates a storefront for you.",
  "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/BookingListingCreateRequest",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120
    },
    "description": {
      "type": "string",
      "minLength": 0,
      "maxLength": 1000
    },
    "duration_min": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "fee_rupees": {
      "type": "number",
      "minimum": 0,
      "maximum": 10000000000
    },
    "currency": {
      "type": "string"
    },
    "hours_from": {
      "type": "string",
      "pattern": "/^([01]\\d|2[0-3]):[0-5]\\d$/"
    },
    "hours_to": {
      "type": "string",
      "pattern": "/^([01]\\d|2[0-3]):[0-5]\\d$/"
    },
    "weekdays": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 6
      }
    },
    "lead_time_hours": {
      "type": "integer",
      "minimum": 0,
      "maximum": 720
    },
    "instant_book": {
      "type": "boolean"
    },
    "collect_payment": {
      "type": "boolean"
    },
    "deposit_pct": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "button_label": {
      "type": "string",
      "minLength": 1,
      "maxLength": 40
    },
    "is_active": {
      "type": "boolean"
    },
    "provider_kind": {
      "type": "string",
      "enum": [
        "generic",
        "doctor",
        "wellness",
        "consultant",
        "coach",
        "tutor",
        "beauty",
        "legal",
        "finance",
        "other"
      ]
    },
    "timezone": {
      "type": "string",
      "minLength": 2,
      "maxLength": 64
    },
    "drawer_host_id": {
      "type": "string",
      "format": "uuid"
    }
  },
  "required": [
    "title",
    "duration_min",
    "hours_from",
    "hours_to",
    "weekdays"
  ]
}

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-listing-create-request"
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.