Bookingmood MCP by usefulapi
Read Bookingmood bookings, availability, guests, payments and invoices; update bookings, contacts.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin bookingmood_list_calendar_events
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"bookingmood": {
"url": "https://bookingmood.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://bookingmood.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (21)
🟢bookingmood_get_organization
The Bookingmood organization this API key belongs to: name, company, plan (tier, subscription type, expiry), languages, country, VAT number, custom domain and contact details. Payment-provider ids and secrets are not returned. GET /organizations.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_list_products(limit, offset)
List the rentable products (apartments, rooms, boats, bikes...) with name, currency, timezone, rent period (daily/nightly), booking interaction, fee and deposit. Names and descriptions are objects keyed by language ('default', 'nl-NL', ...). Images are not returned. GET /products.
Eingabe-Schema
{
"type": "object",
"properties": {
"limit": {
"description": "Rows per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0). Pass the previous reply's next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_get_product(product_id)
One product by id with its capacities (guest-group min/max limits) embedded. GET /products?id=eq.{id}&select=*,capacities(*).
Eingabe-Schema
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Bookingmood product id (UUID)."
}
},
"required": [
"product_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_list_bookings(created_from, created_to, confirmed, method, reference, ...)
List bookings, newest first: reference, method (request or book), currency, confirmed_at (null = not confirmed yet), created_at. A booking's dates and guests are on its calendar events (bookingmood_list_calendar_events) and contacts. Filter by creation date, confirmation state or reference text. The guest access secret is never returned. GET /bookings.
Eingabe-Schema
{
"type": "object",
"properties": {
"created_from": {
"description": "Only bookings created on or after this date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"created_to": {
"description": "Only bookings created on or before this date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"confirmed": {
"description": "true = only confirmed bookings, false = only unconfirmed ones.",
"type": "boolean"
},
"method": {
"description": "'request' = booking request awaiting approval, 'book' = instant booking.",
"type": "string",
"enum": [
"request",
"book"
]
},
"reference": {
"description": "Text contained in the booking reference.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"limit": {
"description": "Rows per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0). Pass the previous reply's next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_get_booking(booking_id)
One booking with everything attached: its calendar events (dates, product, status, occupancy, notes), line items, payments, invoices and the guest contacts linked to it. Five or six read requests. The guest contacts come from the booking-contact link table; if that lookup fails the reply says so instead of failing. GET /bookings, /calendar_events, /line_items, /payments, /invoices, /contact_bookings, /contacts.
Eingabe-Schema
{
"type": "object",
"properties": {
"booking_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Bookingmood booking id (UUID)."
}
},
"required": [
"booking_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_list_calendar_events(product_id, booking_id, status, type, start_date_from, ...)
List calendar events: bookings (type 'booking'), blocked periods and notes, with product_id, booking_id, start_date, end_date, status (TENTATIVE, CONFIRMED, CANCELLED), occupancy, title and notes. Use the date filters for arrivals/departures (e.g. start_date_from = start_date_to = today lists today's arrivals) or active_on for who is in the property on a day. Ordered by start date. GET /calendar_events.
Eingabe-Schema
{
"type": "object",
"properties": {
"product_id": {
"description": "Only events of this product.",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"booking_id": {
"description": "Only events of this booking.",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"status": {
"type": "string",
"enum": [
"TENTATIVE",
"CONFIRMED",
"CANCELLED"
]
},
"type": {
"type": "string",
"enum": [
"booking",
"blocked-period",
"blocked period",
"note"
]
},
"start_date_from": {
"description": "start_date on or after this date (arrivals from).",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"start_date_to": {
"description": "start_date on or before this date (arrivals until).",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"end_date_from": {
"description": "end_date on or after this date (departures from).",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"end_date_to": {
"description": "end_date on or before this date (departures until).",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"active_on": {
"description": "Only events that cover this date (start_date <= date <= end_date).",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"limit": {
"description": "Rows per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0). Pass the previous reply's next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_check_availability(product_ids, show_pending_as)
Availability calendar of up to 5 products: per product a list of intervals {start, end, status} with status available, tentative, unavailable, booked or reserved. One request per product. GET /availability?product_id={id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"product_ids": {
"minItems": 1,
"maxItems": 5,
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"description": "Product ids (UUIDs), 1-5."
},
"show_pending_as": {
"description": "How pending (tentative) bookings count (default TENTATIVE).",
"type": "string",
"enum": [
"TENTATIVE",
"CONFIRMED",
"CANCELLED"
]
}
},
"required": [
"product_ids"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_search_products(start, end, occupancy, option_ids)
Which products can be booked for a stay: for each product whether it matches the dates, guest numbers and options, its availability and a price range {min, max}. Read-only (a search; nothing is booked). occupancy maps a capacity-group id (from bookingmood_get_product capacities) to a number of guests. POST /search.
Eingabe-Schema
{
"type": "object",
"properties": {
"start": {
"description": "Arrival date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"end": {
"description": "Departure date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"occupancy": {
"description": "Map of capacity-group id (UUID) to the number of guests of that group, e.g. adults.",
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"additionalProperties": {
"type": "integer",
"minimum": 0,
"maximum": 1000
}
},
"option_ids": {
"description": "Attribute option ids (UUIDs) the product must have.",
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
}
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_list_contacts(name, email, company, limit, offset)
List contacts (guests and customers): name, email, phone, company, address, language, notes. Search by name, email or company (case-insensitive, contains). Newest first. GET /contacts.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"description": "Text contained in the contact name.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"email": {
"description": "Text contained in the email address.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"company": {
"description": "Text contained in the company name.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"limit": {
"description": "Rows per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0). Pass the previous reply's next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_get_contact(contact_id)
One contact by id. GET /contacts?id=eq.{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"contact_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Bookingmood contact id (UUID)."
}
},
"required": [
"contact_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_list_payments(booking_id, invoice_id, completed, offline, due_from, ...)
List payments (deposits, balances, offline payments): booking_id, invoice_id, amount and paid (integers; the API reference does not state the unit, normally the smallest currency unit), currency, due_at, completed_at (null = not paid), status, offline. Filter to unpaid payments, a booking or a due date. Ordered by due date, latest first. GET /payments.
Eingabe-Schema
{
"type": "object",
"properties": {
"booking_id": {
"description": "Only payments of this booking.",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"invoice_id": {
"description": "Only payments of this invoice.",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"completed": {
"description": "true = only completed payments, false = only open ones.",
"type": "boolean"
},
"offline": {
"description": "true = only offline (manual) payments.",
"type": "boolean"
},
"due_from": {
"description": "due_at on or after this date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"due_to": {
"description": "due_at on or before this date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"limit": {
"description": "Rows per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0). Pass the previous reply's next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_list_invoices(booking_id, reference, created_from, created_to, limit, ...)
List invoices: reference, booking_id, attachment (a custom uploaded file URL, if any), created_at. Filter by booking or creation date. Newest first. GET /invoices.
Eingabe-Schema
{
"type": "object",
"properties": {
"booking_id": {
"description": "Only invoices of this booking.",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"reference": {
"description": "Text contained in the invoice reference.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"created_from": {
"description": "Created on or after this date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"created_to": {
"description": "Created on or before this date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"limit": {
"description": "Rows per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0). Pass the previous reply's next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_list_line_items(booking_id, invoice_id, event_id, limit, offset)
List invoice/booking line items: name (per language), amount and quantity (integers; the API reference does not state the unit), item_type (rent, fee...), fee_type (fee or deposit), booking_id, event_id, invoice_id. GET /line_items.
Eingabe-Schema
{
"type": "object",
"properties": {
"booking_id": {
"description": "Only line items of this booking.",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"invoice_id": {
"description": "Only line items of this invoice.",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"event_id": {
"description": "Only line items of this calendar event.",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"limit": {
"description": "Rows per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0). Pass the previous reply's next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_list_coupons(limit, offset)
List discount coupons: code, description, definition, quota, scope (global, product, service, rent), stackable. Deleted coupons are left out. GET /coupons.
Eingabe-Schema
{
"type": "object",
"properties": {
"limit": {
"description": "Rows per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0). Pass the previous reply's next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_list_services(limit, offset)
List services: the extras, fees and form fields guests can add to a booking, with label, type, fee, deposit and description. GET /services.
Eingabe-Schema
{
"type": "object",
"properties": {
"limit": {
"description": "Rows per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0). Pass the previous reply's next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_list_tasks(completed, calendar_event_id, due_from, due_to, limit, ...)
List housekeeping/operations tasks attached to calendar events: label, due_at, completed_at (null = open), schedule (manual, arrival, departure), calendar_event_id. Filter to open tasks or a due-date window. Earliest due first. GET /tasks.
Eingabe-Schema
{
"type": "object",
"properties": {
"completed": {
"description": "true = only completed tasks, false = only open ones.",
"type": "boolean"
},
"calendar_event_id": {
"description": "Only tasks of this calendar event.",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"due_from": {
"description": "due_at on or after this date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"due_to": {
"description": "due_at on or before this date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"limit": {
"description": "Rows per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0). Pass the previous reply's next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookingmood_list_messages(booking_id, status, type, limit, offset)
List the e-mails and SMS Bookingmood sent or scheduled to guests: subject, body, type (email or sms), status (sent, manually-scheduled, scheduled-around-arrival, scheduled-around-departure), send_at, booking_id. The rendered HTML is not returned. Latest first. GET /messages.
Eingabe-Schema
{
"type": "object",
"properties": {
"booking_id": {
"description": "Only messages of this booking.",
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"status": {
"type": "string",
"enum": [
"sent",
"manually-scheduled",
"scheduled-around-arrival",
"scheduled-around-departure"
]
},
"type": {
"type": "string",
"enum": [
"email",
"sms"
]
},
"limit": {
"description": "Rows per page, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Rows to skip (default 0). Pass the previous reply's next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴bookingmood_update_event_notes(event_id, notes)
WRITE: replace the internal notes of ONE calendar event (the whole notes text is overwritten, so include the existing text if you want to keep it - read it first with bookingmood_list_calendar_events). Notes are internal; no guest is notified. PATCH /calendar_events?id=eq.{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Calendar event id (UUID)."
},
"notes": {
"type": "string",
"maxLength": 5000,
"description": "The new notes text (an empty string clears the notes)."
}
},
"required": [
"event_id",
"notes"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴bookingmood_set_event_status(event_id, status)
WRITE: change the status of ONE calendar event to CONFIRMED, TENTATIVE or CANCELLED. This changes what the calendar shows as available and can trigger Bookingmood's own automations for the booking (guest e-mails, tasks, payment reminders), so confirm with the user before cancelling or confirming. PATCH /calendar_events?id=eq.{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Calendar event id (UUID)."
},
"status": {
"type": "string",
"enum": [
"TENTATIVE",
"CONFIRMED",
"CANCELLED"
],
"description": "The new status."
}
},
"required": [
"event_id",
"status"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡bookingmood_create_contact(first_name, last_name, email, phone, company_name, ...)
WRITE: create ONE new contact (guest/customer) in Bookingmood. Not idempotent: calling it twice creates two contacts, so search with bookingmood_list_contacts first. No message is sent to the contact. POST /contacts.
Eingabe-Schema
{
"type": "object",
"properties": {
"first_name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"last_name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"phone": {
"type": "string",
"minLength": 1,
"maxLength": 50
},
"company_name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"street": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"street2": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"zip": {
"type": "string",
"minLength": 1,
"maxLength": 30
},
"city": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"province": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"state": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"country_code": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"language": {
"description": "Contact language, e.g. en-US or nl-NL.",
"type": "string",
"pattern": "^[a-z]{2,3}(-[A-Za-z]{2,4})?$"
},
"notes": {
"type": "string",
"maxLength": 5000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴bookingmood_update_contact(contact_id, first_name, last_name, email, phone, ...)
WRITE: change fields of ONE existing contact (only the fields you pass are changed; others stay). No message is sent to the contact. PATCH /contacts?id=eq.{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"contact_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Contact id (UUID)."
},
"first_name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"last_name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"phone": {
"type": "string",
"minLength": 1,
"maxLength": 50
},
"company_name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"street": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"street2": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"zip": {
"type": "string",
"minLength": 1,
"maxLength": 30
},
"city": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"province": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"state": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"country_code": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"language": {
"description": "Contact language, e.g. en-US or nl-NL.",
"type": "string",
"pattern": "^[a-z]{2,3}(-[A-Za-z]{2,4})?$"
},
"notes": {
"type": "string",
"maxLength": 5000
}
},
"required": [
"contact_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis