@openbooking-sh/adapter-ucp
v0.12.0
Published
Universal Commerce Protocol (UCP) discovery profile and booking-session REST endpoints for OpenBooking.
Maintainers
Readme
@openbooking-sh/adapter-ucp
Universal Commerce Protocol (draft). Exposes a BookingService over the Universal Commerce Protocol: the business profile at /.well-known/ucp, booking sessions over REST and an availability extension. UCP booking support follows a draft and may change with the spec.
Part of OpenBooking: open-source booking that every AI assistant can use.
npm install @openbooking-sh/adapter-ucpUsage
import { createUcpRouter, buildUcpProfile } from '@openbooking-sh/adapter-ucp';
app.route('/ucp', createUcpRouter({ service, baseUrl, ucpPath: '/ucp' }));
app.get('/.well-known/ucp', (c) => c.json(buildUcpProfile({ baseUrl, ucpPath: '/ucp' })));Learn more
- OpenBooking on GitHub: the full SDK, docs and examples
- openbooking.sh
Apache-2.0
