{
  "scopes": [
    "products:read",
    "products:write",
    "collections:read",
    "collections:write",
    "tags:read",
    "tags:write",
    "media:read",
    "media:write",
    "workspace:read",
    "workspace:write",
    "website:read",
    "website:write",
    "knowledge:read",
    "knowledge:write",
    "knowledge:publish",
    "account:read",
    "account:write",
    "workspaces:read",
    "workspaces:write",
    "storefront:read",
    "visitors:read",
    "visitors:write",
    "ai:write"
  ],
  "customerExperience": [
    {
      "name": "storefront_bootstrap",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/bootstrap",
      "scope": "storefront:read",
      "description": "Initialiseert bezoekerstoegang, een gasttoken en Turnstile-configuratie.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Bezoekerstoegang: Initialiseren"
    },
    {
      "name": "storefront_products",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/products",
      "scope": "storefront:read",
      "description": "Geeft alleen gepubliceerde catalogusgegevens terug die het bezoekerstoegangsbeleid toestaat.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Gepubliceerde producten: Weergeven"
    },
    {
      "name": "storefront_products_productId",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/products/{productId}",
      "scope": "storefront:read",
      "description": "Geeft alleen gepubliceerde catalogusgegevens terug die het bezoekerstoegangsbeleid toestaat.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Gepubliceerd product: Lezen"
    },
    {
      "name": "storefront_products_productId_questions",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/products/{productId}/questions",
      "scope": "storefront:read",
      "description": "Geeft alleen gepubliceerde catalogusgegevens terug die het bezoekerstoegangsbeleid toestaat.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Gepubliceerde productvragen: Weergeven"
    },
    {
      "name": "storefront_products_slug_productSlug",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/products/slug/{productSlug}",
      "scope": "storefront:read",
      "description": "Geeft alleen gepubliceerde catalogusgegevens terug die het bezoekerstoegangsbeleid toestaat.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Gepubliceerd product: Lezen"
    },
    {
      "name": "storefront_collections",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/collections",
      "scope": "storefront:read",
      "description": "Geeft alleen gepubliceerde catalogusgegevens terug die het bezoekerstoegangsbeleid toestaat.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Gepubliceerde collecties: Weergeven"
    },
    {
      "name": "storefront_collections_collectionId_products",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/collections/{collectionId}/products",
      "scope": "storefront:read",
      "description": "Geeft alleen gepubliceerde catalogusgegevens terug die het bezoekerstoegangsbeleid toestaat.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Producten in een collectie: Weergeven"
    },
    {
      "name": "storefront_tags",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/tags",
      "scope": "storefront:read",
      "description": "Geeft alleen gepubliceerde catalogusgegevens terug die het bezoekerstoegangsbeleid toestaat.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Gepubliceerde tags: Weergeven"
    },
    {
      "name": "storefront_tags_tagId_products",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/tags/{tagId}/products",
      "scope": "storefront:read",
      "description": "Geeft alleen gepubliceerde catalogusgegevens terug die het bezoekerstoegangsbeleid toestaat.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Gepubliceerde producten: Weergeven"
    },
    {
      "name": "storefront_tags_tagId_collections",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/tags/{tagId}/collections",
      "scope": "storefront:read",
      "description": "Geeft alleen gepubliceerde catalogusgegevens terug die het bezoekerstoegangsbeleid toestaat.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Gepubliceerde collecties: Weergeven"
    },
    {
      "name": "customer_otp_request",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/experience/customer/otp/request",
      "scope": "visitors:write",
      "description": "Vraagt een e-mailcode aan. Turnstile, e-mailvalidatie en herverzendlimieten gelden.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "email": {
            "type": "string",
            "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",
              "null"
            ]
          },
          "turnstileToken": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2048
          }
        },
        "required": [
          "name",
          "email"
        ],
        "additionalProperties": false
      },
      "title": "E-mailcode voor bezoekers: Aanvragen"
    },
    {
      "name": "customer_otp_verify",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/experience/customer/otp/verify",
      "scope": "visitors:write",
      "description": "Valideert een eenmalige code en geeft een bezoekerssessie binnen de tenant terug, nooit een beheersessie.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "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,}$"
          },
          "code": {
            "type": "string",
            "pattern": "^\\d{6}$"
          }
        },
        "required": [
          "email",
          "code"
        ],
        "additionalProperties": false
      },
      "title": "E-mailcode voor bezoekers: Verifiëren"
    },
    {
      "name": "customer_session",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/customer/session",
      "scope": "visitors:read",
      "description": "Geef X-Visitor-Token op voor de bezoekerssessie van de huidige tenant.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Bezoekerssessie: Lezen"
    },
    {
      "name": "customer_refresh",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/experience/customer/refresh",
      "scope": "visitors:write",
      "description": "Geef X-Visitor-Token op voor de bezoekerssessie van de huidige tenant.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Bezoekerssessie: Vernieuwen"
    },
    {
      "name": "customer_logout",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/experience/customer/logout",
      "scope": "visitors:write",
      "description": "Geef X-Visitor-Token op voor de bezoekerssessie van de huidige tenant.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Bezoekerssessie: Intrekken"
    },
    {
      "name": "customer_profile",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/experience/customer/profile",
      "scope": "visitors:read",
      "description": "Geeft alleen openbare bezoekersprofielvelden terug. Geef X-Visitor-Token op.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Bezoekersprofiel: Lezen"
    },
    {
      "name": "customer_profile_update",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/experience/customer/profile",
      "scope": "visitors:write",
      "description": "Wijzigt naam, telefoon en taal van de bezoeker. E-mail kan hier niet worden gewijzigd; wijzigingen aan het accountadres vereisen aanmelding bij het account.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "email": {
            "type": "string",
            "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"
          },
          "language": {
            "type": "string",
            "maxLength": 24
          }
        },
        "required": [
          "name",
          "email"
        ],
        "additionalProperties": false
      },
      "title": "Bezoekersprofiel: Bijwerken"
    },
    {
      "name": "storefront_ai_general",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/experience/chat/general",
      "scope": "ai:write",
      "description": "Gebruikt actuele gepubliceerde onderbouwing en bronvermeldingen, met bezoekersbeveiliging en expliciete creditregistratie; alleen lezen. Stuur bij vervolgvragen de ondertekende threadId en ondoorzichtige contextToken ongewijzigd terug. Verstuur nooit zelfgeschreven gespreksgeschiedenis. Verlopen of begrensde context vereist expliciet een nieuw gesprek.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "contextToken": {
            "type": "string",
            "maxLength": 32000
          },
          "threadId": {
            "type": "string",
            "maxLength": 100
          },
          "turnstileToken": {
            "type": "string",
            "maxLength": 4096
          }
        },
        "required": [
          "message"
        ],
        "additionalProperties": false
      },
      "title": "Bedrijfsassistent: Uitvoeren"
    },
    {
      "name": "storefront_ai_product",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/experience/chat/product",
      "scope": "ai:write",
      "description": "Vereist bezoekerstoegang, Turnstile en quota, met atomaire reserveringen van werkruimtecredits. Verbruikt echte credits.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "message": {
            "default": "",
            "type": "string",
            "maxLength": 2000
          },
          "threadId": {
            "type": "string",
            "maxLength": 150
          },
          "thinkingLevel": {
            "type": "string",
            "enum": [
              "LOW",
              "MEDIUM",
              "HIGH"
            ]
          },
          "images": {
            "default": [],
            "maxItems": 2,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 4194368
            }
          },
          "turnstileToken": {
            "type": "string",
            "maxLength": 4096
          },
          "productId": {
            "default": "",
            "type": "string",
            "maxLength": 128
          },
          "productName": {
            "default": "",
            "type": "string",
            "maxLength": 200
          },
          "userProfile": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "maxLength": 60
            },
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 4000
                },
                {
                  "type": "number"
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                },
                {
                  "maxItems": 10,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 4000
                  }
                }
              ]
            }
          },
          "userSelectedRoutineProducts": {
            "maxItems": 10,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                },
                "productName": {
                  "type": "string",
                  "maxLength": 200
                }
              },
              "required": [
                "id",
                "productName"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "message",
          "images",
          "productId",
          "productName"
        ],
        "additionalProperties": false
      },
      "title": "AI-productadvies: Uitvoeren"
    },
    {
      "name": "storefront_ai_routine",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/experience/chat/routine",
      "scope": "ai:write",
      "description": "Vereist bezoekerstoegang, Turnstile en quota, met atomaire reserveringen van werkruimtecredits. Verbruikt echte credits.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "message": {
            "default": "",
            "type": "string",
            "maxLength": 2000
          },
          "threadId": {
            "type": "string",
            "maxLength": 150
          },
          "thinkingLevel": {
            "type": "string",
            "enum": [
              "LOW",
              "MEDIUM",
              "HIGH"
            ]
          },
          "images": {
            "default": [],
            "maxItems": 2,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 4194368
            }
          },
          "turnstileToken": {
            "type": "string",
            "maxLength": 4096
          },
          "userProfile": {
            "default": {},
            "type": "object",
            "propertyNames": {
              "type": "string",
              "maxLength": 60
            },
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 4000
                },
                {
                  "type": "number"
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                },
                {
                  "maxItems": 10,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 4000
                  }
                }
              ]
            }
          },
          "userSelectedRoutineProducts": {
            "default": [],
            "maxItems": 10,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                },
                "productName": {
                  "type": "string",
                  "maxLength": 200
                }
              },
              "required": [
                "id",
                "productName"
              ],
              "additionalProperties": false
            }
          },
          "allowAiSuggestions": {
            "default": true,
            "type": "boolean"
          }
        },
        "required": [
          "message",
          "images",
          "userProfile",
          "userSelectedRoutineProducts",
          "allowAiSuggestions"
        ],
        "additionalProperties": false
      },
      "title": "AI-routineadvies: Uitvoeren"
    },
    {
      "name": "storefront_ai_analyze_face",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/experience/chat/analyze-face",
      "scope": "ai:write",
      "description": "Vereist bezoekerstoegang, Turnstile en quota, met atomaire reserveringen van werkruimtecredits. Verbruikt echte credits.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "image": {
            "type": "string",
            "maxLength": 4194368
          },
          "turnstileToken": {
            "type": "string",
            "maxLength": 4096
          }
        },
        "required": [
          "image"
        ],
        "additionalProperties": false
      },
      "title": "AI-fotoanalyse: Uitvoeren"
    },
    {
      "name": "storefront_thread_delete",
      "method": "DELETE",
      "path": "/v1/workspaces/{workspaceId}/experience/threads/{threadId}",
      "scope": "visitors:write",
      "description": "Verwijdert alleen een gesprek dat voor de geselecteerde werkruimte en bezoeker is ondertekend.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Bezoekersgesprek: Definitief verwijderen"
    },
    {
      "name": "storefront_feedback",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/experience/feedback",
      "scope": "visitors:write",
      "description": "Gebruikt hetzelfde gevalideerde contract als de gehoste website.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          }
        },
        "required": [
          "message"
        ],
        "additionalProperties": false
      },
      "title": "Bezoekersfeedback: Versturen"
    },
    {
      "name": "storefront_event",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/experience/events",
      "scope": "visitors:write",
      "description": "Legt alleen toegestane gebeurtenissen vast, met servervalidatie en actortoewijzing.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "eventName": {
            "type": "string",
            "enum": [
              "WEBSITE_VISIT",
              "PRODUCT_VIEW",
              "CONTACT_CLICK",
              "BUY_CLICK",
              "PHONE_CLICK",
              "DIRECTION_CLICK",
              "CUSTOMER_SIGNUP"
            ]
          },
          "productId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "source": {
            "type": "string",
            "maxLength": 64
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "required": [
          "eventName"
        ],
        "additionalProperties": false
      },
      "title": "Bezoekersactiviteit: Vastleggen"
    }
  ],
  "operations": [
    {
      "name": "list_products",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/products",
      "target": "workspace",
      "scope": "products:read",
      "description": "Inclusief inactieve producten; ondersteunt paginering, zoeken en statusfilters.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "query": {
            "default": {},
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": [
                "string",
                "number",
                "boolean"
              ]
            }
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "query",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Producten: Weergeven"
    },
    {
      "name": "get_product",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/products/{id}",
      "target": "workspace",
      "scope": "products:read",
      "description": "Geeft een product van de geselecteerde werkruimte terug, ook als het inactief is.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Product: Lezen"
    },
    {
      "name": "create_product",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/products",
      "target": "workspace",
      "scope": "products:write",
      "description": "Velden: name, brand, sku, barcode, stock, status (ACTIVE/INACTIVE/DELETED), description, information, imageIds, tagIds, sales. De bedrijfsvalidatie blijft gelden.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "brand": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "sku": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "barcode": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "stock": {
                "type": "integer",
                "minimum": 0,
                "maximum": 999999
              },
              "status": {
                "type": "string",
                "enum": [
                  "ACTIVE",
                  "INACTIVE",
                  "DELETED"
                ]
              },
              "description": {
                "default": "",
                "type": "string",
                "maxLength": 100000
              },
              "information": {
                "type": "string",
                "maxLength": 500000
              },
              "questionIds": {
                "minItems": 0,
                "maxItems": 5,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "imageIds": {
                "default": [],
                "description": "Uploaded image identifiers in gallery order. Only the first five unique images are retained.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "tagIds": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "sales": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1
                    },
                    "link": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "name",
                    "link"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "name",
              "brand",
              "sku",
              "barcode",
              "stock",
              "status",
              "description",
              "information",
              "imageIds",
              "tagIds",
              "sales"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Product: Aanmaken"
    },
    {
      "name": "update_product",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/products/{id}",
      "target": "workspace",
      "scope": "products:write",
      "description": "Lees het product eerst en verstuur daarna alle actuele bewerkbare waarden. Gebruikt dezelfde velden als create_product.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "data": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "brand": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "sku": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "barcode": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "stock": {
                "type": "integer",
                "minimum": 0,
                "maximum": 999999
              },
              "status": {
                "type": "string",
                "enum": [
                  "ACTIVE",
                  "INACTIVE",
                  "DELETED"
                ]
              },
              "description": {
                "default": "",
                "type": "string",
                "maxLength": 100000
              },
              "information": {
                "type": "string",
                "maxLength": 500000
              },
              "questionIds": {
                "minItems": 0,
                "maxItems": 5,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "imageIds": {
                "default": [],
                "description": "Uploaded image identifiers in gallery order. Only the first five unique images are retained.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "tagIds": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "sales": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1
                    },
                    "link": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "name",
                    "link"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "name",
              "brand",
              "sku",
              "barcode",
              "stock",
              "status",
              "description",
              "information",
              "imageIds",
              "tagIds",
              "sales"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Product: Bijwerken"
    },
    {
      "name": "delete_product",
      "method": "DELETE",
      "path": "/v1/workspaces/{workspaceId}/products/{id}",
      "target": "workspace",
      "scope": "products:write",
      "description": "Verwijdert het product en de bijbehorende koppelingen definitief.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Product: Definitief verwijderen"
    },
    {
      "name": "list_collections",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/collections",
      "target": "workspace",
      "scope": "collections:read",
      "description": "Ondersteunt paginering en zoeken.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "query": {
            "default": {},
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": [
                "string",
                "number",
                "boolean"
              ]
            }
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "query",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Collecties: Weergeven"
    },
    {
      "name": "create_collection",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/collections",
      "target": "workspace",
      "scope": "collections:write",
      "description": "Velden: name, description, tagIds, imageId. Voeg producten apart toe met add_collection_product.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "description": {
                "default": "",
                "type": "string",
                "maxLength": 100000
              },
              "imageId": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 160
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tagIds": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              }
            },
            "required": [
              "name",
              "description",
              "tagIds"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Collectie: Aanmaken"
    },
    {
      "name": "update_collection",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/collections/{id}",
      "target": "workspace",
      "scope": "collections:write",
      "description": "Verstuur alle actuele bewerkbare waarden.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "data": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "description": {
                "default": "",
                "type": "string",
                "maxLength": 100000
              },
              "imageId": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 160
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tagIds": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              }
            },
            "required": [
              "name",
              "description",
              "tagIds"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Collectie: Bijwerken"
    },
    {
      "name": "delete_collection",
      "method": "DELETE",
      "path": "/v1/workspaces/{workspaceId}/collections/{id}",
      "target": "workspace",
      "scope": "collections:write",
      "description": "Verwijdering is definitief.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Collectie: Definitief verwijderen"
    },
    {
      "name": "list_tags",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/tags",
      "target": "workspace",
      "scope": "tags:read",
      "description": "Ondersteunt paginering en zoeken.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "query": {
            "default": {},
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": [
                "string",
                "number",
                "boolean"
              ]
            }
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "query",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Tags: Weergeven"
    },
    {
      "name": "create_tag",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/tags",
      "target": "workspace",
      "scope": "tags:write",
      "description": "Geef het veld name op.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Tag: Aanmaken"
    },
    {
      "name": "update_tag",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/tags/{id}",
      "target": "workspace",
      "scope": "tags:write",
      "description": "Verstuur alle actuele bewerkbare waarden.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "data": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Tag: Bijwerken"
    },
    {
      "name": "delete_tag",
      "method": "DELETE",
      "path": "/v1/workspaces/{workspaceId}/tags/{id}",
      "target": "workspace",
      "scope": "tags:write",
      "description": "Verwijdering is definitief.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Tag: Definitief verwijderen"
    },
    {
      "name": "get_collection",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/collections/{id}",
      "target": "workspace",
      "scope": "collections:read",
      "description": "Bevat de product- en tagkoppelingen van de collectie.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Collectie: Lezen"
    },
    {
      "name": "get_tag",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/tags/{id}",
      "target": "workspace",
      "scope": "tags:read",
      "description": "Geeft het geselecteerde record terug.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Tag: Lezen"
    },
    {
      "name": "list_templates",
      "method": "GET",
      "path": "/v1/templates",
      "target": "account",
      "scope": "website:read",
      "description": "Geeft alleen openbare websitesjablonen terug die beschikbaar zijn voor het aanmaken van een werkruimte.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Websitesjablonen: Weergeven"
    },
    {
      "name": "list_workspace_templates",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/website/templates",
      "target": "workspace",
      "scope": "website:read",
      "description": "Geeft openbare sjablonen en privésjablonen terug die aan de geselecteerde werkruimte zijn toegewezen. Toegang verlenen verandert het geselecteerde ontwerp niet.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Websitesjablonen voor de werkruimte: Weergeven"
    },
    {
      "name": "list_collection_products",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/collections/{id}/products",
      "target": "workspace",
      "scope": "collections:read",
      "description": "Geeft de producten terug die aan de geselecteerde collectie zijn gekoppeld.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "query": {
            "default": {},
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": [
                "string",
                "number",
                "boolean"
              ]
            }
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "query",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Producten in een collectie: Weergeven"
    },
    {
      "name": "add_collection_product",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/collections/{id}/products/{productId}",
      "target": "workspace",
      "scope": "collections:write",
      "description": "Beide gekoppelde records moeten bij dezelfde werkruimte horen.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "productId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "productId",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Producten in een collectie: Toevoegen"
    },
    {
      "name": "add_product_tag",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/products/{id}/tags/{tagId}",
      "target": "workspace",
      "scope": "products:write",
      "description": "Beide gekoppelde records moeten bij dezelfde werkruimte horen.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "tagId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "tagId",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Producttag: Toevoegen"
    },
    {
      "name": "add_collection_tag",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/collections/{id}/tags/{tagId}",
      "target": "workspace",
      "scope": "collections:write",
      "description": "Beide gekoppelde records moeten bij dezelfde werkruimte horen.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "tagId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "tagId",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Collectietag: Toevoegen"
    },
    {
      "name": "remove_collection_product",
      "method": "DELETE",
      "path": "/v1/workspaces/{workspaceId}/collections/{id}/products/{productId}",
      "target": "workspace",
      "scope": "collections:write",
      "description": "Beide gekoppelde records moeten bij dezelfde werkruimte horen.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "productId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "productId",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Producten in een collectie: Koppeling verwijderen"
    },
    {
      "name": "remove_product_tag",
      "method": "DELETE",
      "path": "/v1/workspaces/{workspaceId}/products/{id}/tags/{tagId}",
      "target": "workspace",
      "scope": "products:write",
      "description": "Beide gekoppelde records moeten bij dezelfde werkruimte horen.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "tagId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "tagId",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Producttag: Koppeling verwijderen"
    },
    {
      "name": "remove_collection_tag",
      "method": "DELETE",
      "path": "/v1/workspaces/{workspaceId}/collections/{id}/tags/{tagId}",
      "target": "workspace",
      "scope": "collections:write",
      "description": "Beide gekoppelde records moeten bij dezelfde werkruimte horen.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "tagId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "tagId",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Collectietag: Koppeling verwijderen"
    },
    {
      "name": "list_media",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/media",
      "target": "workspace",
      "scope": "media:read",
      "description": "Ondersteunt paginering, gebruiksinformatie en zoeken.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "query": {
            "default": {},
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": [
                "string",
                "number",
                "boolean"
              ]
            }
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "query",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Media: Weergeven"
    },
    {
      "name": "get_media",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/media/{id}",
      "target": "workspace",
      "scope": "media:read",
      "description": "Geeft metadata van geüploade media terug.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Media: Lezen"
    },
    {
      "name": "upload_media",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/media",
      "target": "workspace",
      "scope": "media:write",
      "description": "Verstuur een base64-afbeelding van maximaal 3 MiB na decoderen. Geeft het media-ID voor imageIds terug. REST ondersteunt ook multipartuploads op /v1/media/upload.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "mimeType": {
            "type": "string",
            "enum": [
              "image/jpeg",
              "image/png",
              "image/webp",
              "image/gif",
              "image/avif"
            ]
          },
          "base64": {
            "type": "string",
            "minLength": 4,
            "maxLength": 4194304
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "fileName",
          "mimeType",
          "base64",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Afbeelding: Uploaden"
    },
    {
      "name": "replace_media",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/media/{id}",
      "target": "workspace",
      "scope": "media:write",
      "description": "Het bestaande media-ID blijft behouden.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "mimeType": {
            "type": "string",
            "enum": [
              "image/jpeg",
              "image/png",
              "image/webp",
              "image/gif",
              "image/avif"
            ]
          },
          "base64": {
            "type": "string",
            "minLength": 4,
            "maxLength": 4194304
          },
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "fileName",
          "mimeType",
          "base64",
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Afbeelding: Vervangen"
    },
    {
      "name": "delete_media",
      "method": "DELETE",
      "path": "/v1/workspaces/{workspaceId}/media/{id}",
      "target": "workspace",
      "scope": "media:write",
      "description": "Verwijdert de geüploade media en alle verwijzingen ernaar.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Media: Definitief verwijderen"
    },
    {
      "name": "get_workspace",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/workspace",
      "target": "workspace",
      "scope": "workspace:read",
      "description": "Geeft het profiel, de zakelijke contactgegevens en agentinstructies van de geselecteerde werkruimte terug.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Werkruimte: Lezen"
    },
    {
      "name": "update_workspace",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/workspace",
      "target": "workspace",
      "scope": "workspace:write",
      "description": "Velden: name, subDomain, billingEmail, billingPhone, billingGsmCountryCode, hostedSitePublished. Het facturatie-e-mailadres vereist een bestaande verificatiecode. Subdomeinvalidatie en wachttijden gelden. Eigendom, saldo en toegangsbeleid worden niet gedelegeerd.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 2,
                "maxLength": 80
              },
              "subDomain": {
                "type": "string",
                "minLength": 3,
                "maxLength": 32,
                "pattern": "^(?!-)[a-z0-9-]+(?<!-)$"
              },
              "billingEmail": {
                "type": "string",
                "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,}$"
              },
              "billingEmailOtpCode": {
                "type": "string",
                "pattern": "^\\d{6}$"
              },
              "billingPhone": {
                "type": "string",
                "maxLength": 40
              },
              "billingGsmCountryCode": {
                "type": "string"
              },
              "hostedSitePublished": {
                "type": "boolean"
              },
              "chatIdleTimeoutSeconds": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Werkruimte: Bijwerken"
    },
    {
      "name": "get_website",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/website/{templateKey}",
      "target": "workspace",
      "scope": "website:read",
      "description": "Lees vóór het bijwerken de bewerkbare inhoud, het thema, de bestanden, vertalingen, sjabloonindeling en het JSON-schema.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "templateKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "templateKey",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Website: Lezen"
    },
    {
      "name": "update_website",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/website/{templateKey}",
      "target": "workspace",
      "scope": "website:write",
      "description": "Gebruik editable en editorSchema uit get_website. Alleen-lezenvelden meta/template zijn uitgesloten. Gedeeltelijke updates worden ondersteund; sjabloonvalidatie geldt.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "templateKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "data": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "templateKey",
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Website: Bijwerken"
    },
    {
      "name": "list_knowledge_sources",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/knowledge",
      "target": "workspace",
      "scope": "knowledge:read",
      "description": "Geeft samenvattingen van privébronnen en publicatiestatus terug, met optionele volledige tekstzoekfunctie. Laad volledige concepten met get_knowledge_source.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "maxLength": 200
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Kennisbronnen: Weergeven"
    },
    {
      "name": "get_knowledge_source",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/knowledge/{id}",
      "target": "workspace",
      "scope": "knowledge:read",
      "description": "Geeft één volledig privéconcept terug ter beoordeling. Vereist de huidige eigenaar en een expliciete leesmachtiging voor kennis.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Kennisbron: Lezen"
    },
    {
      "name": "get_business_profile",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/business/profile",
      "target": "workspace",
      "scope": "knowledge:read",
      "description": "Geeft het onafhankelijke openbare profielconcept en de publicatiestatus terug. Account- en facturatie-identiteit zijn uitgesloten.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Openbaar bedrijfsprofiel: Lezen"
    },
    {
      "name": "save_business_profile",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/business/profile",
      "target": "workspace",
      "scope": "knowledge:write",
      "description": "Slaat een privéconcept op zonder het te publiceren.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "profile": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 2,
                "maxLength": 120
              },
              "description": {
                "type": "string",
                "maxLength": 4000
              },
              "supportEmail": {
                "default": "",
                "anyOf": [
                  {
                    "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,}$"
                  },
                  {
                    "type": "string",
                    "const": ""
                  }
                ]
              },
              "supportPhone": {
                "default": "",
                "type": "string",
                "maxLength": 50,
                "pattern": "^[+()\\d .-]*$"
              },
              "links": {
                "default": [],
                "maxItems": 8,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "label": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "url": {
                      "type": "string",
                      "maxLength": 1000,
                      "format": "uri"
                    }
                  },
                  "required": [
                    "label",
                    "url"
                  ],
                  "additionalProperties": false
                }
              },
              "locations": {
                "default": [],
                "maxItems": 10,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 100
                    },
                    "address": {
                      "type": "string",
                      "maxLength": 600
                    },
                    "hours": {
                      "type": "string",
                      "maxLength": 1000
                    }
                  },
                  "required": [
                    "name",
                    "address",
                    "hours"
                  ],
                  "additionalProperties": false
                }
              },
              "facts": {
                "default": [],
                "maxItems": 20,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "label": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 120
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 1000
                    }
                  },
                  "required": [
                    "label",
                    "value"
                  ],
                  "additionalProperties": false
                }
              },
              "language": {
                "type": "string",
                "enum": [
                  "en",
                  "tr",
                  "de",
                  "es",
                  "fr"
                ]
              }
            },
            "required": [
              "name",
              "description",
              "supportEmail",
              "supportPhone",
              "links",
              "locations",
              "facts",
              "language"
            ],
            "additionalProperties": false
          },
          "revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "profile",
          "revision",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Openbaar bedrijfsprofiel: Concept opslaan"
    },
    {
      "name": "create_knowledge_source",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/knowledge",
      "target": "workspace",
      "scope": "knowledge:write",
      "description": "Maakt een conceptartikel of veelgestelde vragen zonder publicatie.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "ARTICLE",
                  "FAQ"
                ]
              },
              "title": {
                "type": "string",
                "minLength": 2,
                "maxLength": 160
              },
              "language": {
                "type": "string",
                "enum": [
                  "en",
                  "tr",
                  "de",
                  "es",
                  "fr"
                ]
              },
              "question": {
                "default": "",
                "type": "string",
                "maxLength": 400
              },
              "body": {
                "type": "string",
                "minLength": 1
              },
              "keywords": {
                "default": [],
                "maxItems": 20,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                }
              },
              "shareOriginal": {
                "default": false,
                "type": "boolean"
              }
            },
            "required": [
              "kind",
              "title",
              "language",
              "question",
              "body",
              "keywords",
              "shareOriginal"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Kennisbron: Aanmaken"
    },
    {
      "name": "update_knowledge_source",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/knowledge/{id}",
      "target": "workspace",
      "scope": "knowledge:write",
      "description": "Gebruikt de huidige revisie van het concept. Gepubliceerde tekst blijft ongewijzigd.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "ARTICLE",
                  "FAQ"
                ]
              },
              "title": {
                "type": "string",
                "minLength": 2,
                "maxLength": 160
              },
              "language": {
                "type": "string",
                "enum": [
                  "en",
                  "tr",
                  "de",
                  "es",
                  "fr"
                ]
              },
              "question": {
                "default": "",
                "type": "string",
                "maxLength": 400
              },
              "body": {
                "type": "string",
                "minLength": 1
              },
              "keywords": {
                "default": [],
                "maxItems": 20,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                }
              },
              "shareOriginal": {
                "default": false,
                "type": "boolean"
              },
              "revision": {
                "type": "integer",
                "minimum": 1,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "kind",
              "title",
              "language",
              "question",
              "body",
              "keywords",
              "shareOriginal",
              "revision"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Kennisbron: Bijwerken"
    },
    {
      "name": "publish_knowledge_source",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/knowledge/{id}/publish",
      "target": "workspace",
      "scope": "knowledge:publish",
      "description": "Vereist een uitdrukkelijke actie voor de beoordeelde bron met de huidige revisie.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "revision": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9007199254740991
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "revision",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Kennisbron: Uitdrukkelijk publiceren"
    },
    {
      "name": "publish_business_profile",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/business/profile/publish",
      "target": "workspace",
      "scope": "knowledge:publish",
      "description": "Wijzigt publicatie alleen via een uitdrukkelijke bewerking.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9007199254740991
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "revision",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Openbaar bedrijfsprofiel: Uitdrukkelijk publiceren"
    },
    {
      "name": "unpublish_knowledge_source",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/knowledge/{id}/unpublish",
      "target": "workspace",
      "scope": "knowledge:publish",
      "description": "Vereist een uitdrukkelijke actie voor de beoordeelde bron met de huidige revisie.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "revision": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9007199254740991
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "revision",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Kennisbron: Uitdrukkelijk intrekken"
    },
    {
      "name": "unpublish_business_profile",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/business/profile/unpublish",
      "target": "workspace",
      "scope": "knowledge:publish",
      "description": "Wijzigt publicatie alleen via een uitdrukkelijke bewerking.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9007199254740991
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "revision",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Openbaar bedrijfsprofiel: Uitdrukkelijk intrekken"
    },
    {
      "name": "delete_knowledge_source",
      "method": "DELETE",
      "path": "/v1/workspaces/{workspaceId}/knowledge/{id}",
      "target": "workspace",
      "scope": "knowledge:publish",
      "description": "Trekt de publicatie in en verwijdert de bron definitief. Originele bestanden worden gevolgd voor privéopschoning.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "revision": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9007199254740991
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "revision",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Kennisbron: Definitief verwijderen"
    },
    {
      "name": "get_account",
      "method": "GET",
      "path": "/v1/account",
      "target": "account",
      "scope": "account:read",
      "description": "Geeft uw accountprofiel en limiet voor nieuwe werkruimten terug.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "title": "Account: Lezen"
    },
    {
      "name": "update_account",
      "method": "PUT",
      "path": "/v1/account",
      "target": "account",
      "scope": "account:write",
      "description": "Lees het profiel eerst. E-mailwijzigingen vereisen een verificatiecode uit het dashboard. Rollen, verificatie en werkruimtelimieten kunnen niet worden gewijzigd.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
              },
              "email": {
                "type": "string",
                "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,}$"
              },
              "emailOtpCode": {
                "type": "string",
                "pattern": "^\\d{6}$"
              },
              "phone": {
                "type": "string",
                "maxLength": 40
              },
              "language": {
                "default": "",
                "type": "string",
                "maxLength": 24
              }
            },
            "required": [
              "name",
              "email",
              "phone",
              "language"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "title": "Account: Bijwerken"
    },
    {
      "name": "list_workspaces",
      "method": "GET",
      "path": "/v1/workspaces",
      "target": "account",
      "scope": "workspaces:read",
      "description": "Geeft uw actieve werkruimten en de aanmaaklimiet terug. Gebruik een teruggegeven werkruimte-ID voor volgende tools.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "query": {
            "default": {
              "page": 1,
              "pageSize": 25
            },
            "type": "object",
            "properties": {
              "page": {
                "default": 1,
                "type": "integer",
                "minimum": 1,
                "maximum": 1000000
              },
              "pageSize": {
                "default": 25,
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              }
            },
            "required": [
              "page",
              "pageSize"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "title": "Werkruimten: Weergeven"
    },
    {
      "name": "create_workspace",
      "method": "POST",
      "path": "/v1/workspaces",
      "target": "account",
      "scope": "workspaces:write",
      "description": "Maakt een werkruimte met nul credits binnen de eigendomslimiet van de beheerder. Kies HOSTED met een sjabloon uit list_templates of, indien ingeschakeld, ASSISTANT_ONLY met templateKey=null. Selecteer Commerce/Knowledge-mogelijkheden expliciet. Maatwerksites vereisen een telefoonnummer en melden dit aan het team.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 2,
                "maxLength": 80
              },
              "subDomain": {
                "type": "string",
                "minLength": 3,
                "maxLength": 32,
                "pattern": "^(?!-)[a-z0-9-]+(?<!-)$"
              },
              "templateKey": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "support-v1",
                      "support-v2",
                      "support-v3",
                      "support-v4",
                      "ecommerce-v2",
                      "ecommerce-v3",
                      "ecommerce-v4",
                      "cosmetics-v2",
                      "beauty-v1",
                      "beauty-v3",
                      "beauty-v4",
                      "yossco-v1",
                      "textile-v1",
                      "customized"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "experienceMode": {
                "default": "HOSTED",
                "type": "string",
                "enum": [
                  "HOSTED",
                  "ASSISTANT_ONLY"
                ]
              },
              "commerceEnabled": {
                "type": "boolean"
              },
              "knowledgeEnabled": {
                "type": "boolean"
              },
              "businessCategories": {
                "maxItems": 94,
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACCOUNTING",
                    "ADVERTISING",
                    "AGRICULTURE",
                    "AI",
                    "AIRLINES",
                    "ANIMAL_CARE",
                    "ANTIQUES",
                    "ARCHITECTURE",
                    "ARTS",
                    "AUTOMOTIVE",
                    "BAKERY",
                    "BANKING",
                    "BEAUTY",
                    "BIOTECHNOLOGY",
                    "BOOKS",
                    "BUSINESS_SERVICES",
                    "CAFE",
                    "CHARITY",
                    "CHEMICALS",
                    "CHILDCARE",
                    "CLEANING",
                    "CLOTHING",
                    "COMPUTERS",
                    "CONSTRUCTION",
                    "CONSULTING",
                    "COSMETICS",
                    "CRAFT_TRADE",
                    "DENTAL",
                    "DISTRIBUTION",
                    "ECOMMERCE",
                    "EDUCATION",
                    "ELECTRONICS",
                    "ENERGY",
                    "ENGINEERING",
                    "ENTERTAINMENT",
                    "ENVIRONMENT",
                    "EVENTS",
                    "FISHING",
                    "FITNESS",
                    "FLORIST",
                    "FOOD",
                    "FORESTRY",
                    "FURNITURE",
                    "GAMING",
                    "GIFTS",
                    "GOVERNMENT",
                    "GROCERY",
                    "HAIR",
                    "HARDWARE",
                    "HEALTHCARE",
                    "HOSPITALITY",
                    "HOUSEHOLD",
                    "IMPORT_EXPORT",
                    "INSURANCE",
                    "INTERIOR_DESIGN",
                    "JEWELRY",
                    "LEGAL",
                    "LOGISTICS",
                    "MANUFACTURING",
                    "MARINE",
                    "MEDIA",
                    "MINING",
                    "MUSEUMS",
                    "MUSIC",
                    "OFFICE",
                    "OPTICS",
                    "PACKAGING",
                    "PARKING",
                    "PERSONAL_SERVICES",
                    "PET_RETAIL",
                    "PHARMACY",
                    "PHOTOGRAPHY",
                    "PROPERTY",
                    "PUBLISHING",
                    "RECRUITMENT",
                    "RELIGION",
                    "RENTAL",
                    "RESEARCH",
                    "RESTAURANTS",
                    "RETAIL",
                    "SECURITY",
                    "SHOES_BAGS",
                    "SOFTWARE",
                    "SPORTS",
                    "STORAGE",
                    "TELECOM",
                    "TEXTILES",
                    "TOBACCO",
                    "TOYS",
                    "TRANSPORT",
                    "TRAVEL",
                    "UNIVERSITIES",
                    "WELLNESS",
                    "OTHER"
                  ]
                }
              },
              "phone": {
                "type": "string",
                "maxLength": 40
              },
              "hostedSitePublished": {
                "default": false,
                "type": "boolean"
              }
            },
            "required": [
              "name",
              "experienceMode",
              "businessCategories",
              "hostedSitePublished"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "title": "Werkruimte: Aanmaken"
    },
    {
      "name": "list_feedbacks",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/feedbacks",
      "target": "workspace",
      "scope": "workspace:read",
      "description": "Ondersteunt paginering, zoeken en filters op bezoeker en datum.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "query": {
            "default": {
              "page": 1,
              "pageSize": 25,
              "search": "",
              "visitor": "ALL",
              "sortDirection": "desc"
            },
            "type": "object",
            "properties": {
              "page": {
                "default": 1,
                "type": "integer",
                "minimum": 1,
                "maximum": 9007199254740991
              },
              "pageSize": {
                "default": 25,
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              },
              "search": {
                "default": "",
                "type": "string",
                "maxLength": 200
              },
              "workspaceId": {
                "type": "string",
                "maxLength": 160
              },
              "userId": {
                "type": "string",
                "maxLength": 160
              },
              "visitor": {
                "default": "ALL",
                "type": "string",
                "enum": [
                  "ALL",
                  "GUEST",
                  "USER"
                ]
              },
              "from": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              "to": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              "sortDirection": {
                "default": "desc",
                "type": "string",
                "enum": [
                  "asc",
                  "desc"
                ]
              }
            },
            "required": [
              "page",
              "pageSize",
              "search",
              "visitor",
              "sortDirection"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "query",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Klantfeedback: Weergeven"
    },
    {
      "name": "get_ai_settings",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/ai-settings",
      "target": "workspace",
      "scope": "workspace:read",
      "description": "Geeft het door de eigenaar gekozen antwoordniveau, het Knowledge-antwoordbeleid, de instellingenrevisie en creditprijzen terug.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "AI-instellingen: Lezen"
    },
    {
      "name": "update_ai_settings",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/ai-settings",
      "target": "workspace",
      "scope": "workspace:write",
      "description": "Alleen de eigenaar kiest het antwoordniveau en Knowledge-beleid met de huidige instellingenrevisie. Klanten kunnen deze niet overschrijven.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "level": {
                "type": "string",
                "enum": [
                  "SMART",
                  "SMARTER",
                  "SMARTEST"
                ]
              },
              "answerPolicy": {
                "type": "string",
                "enum": [
                  "SOURCE_BASED_REASONING",
                  "SOURCE_ONLY"
                ]
              },
              "revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "chatIdleTimeoutSeconds": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "sector": {
                "type": "string",
                "enum": [
                  "AUTO",
                  "GENERAL",
                  "BEAUTY",
                  "TEXTILE"
                ]
              }
            },
            "required": [
              "level",
              "revision"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "AI-instellingen: Bijwerken"
    },
    {
      "name": "list_product_questions",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/questions",
      "target": "workspace",
      "scope": "products:read",
      "description": "De vraag hoort bij deze werkruimte en kan bij meerdere producten worden gebruikt.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Herbruikbare productvragen: Weergeven"
    },
    {
      "name": "create_product_question",
      "method": "POST",
      "path": "/v1/workspaces/{workspaceId}/questions",
      "target": "workspace",
      "scope": "products:write",
      "description": "De vraag hoort bij deze werkruimte en kan bij meerdere producten worden gebruikt.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string",
                "minLength": 1,
                "maxLength": 240
              }
            },
            "required": [
              "text"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Herbruikbare productvraag: Aanmaken"
    },
    {
      "name": "update_product_question",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/questions/{id}",
      "target": "workspace",
      "scope": "products:write",
      "description": "Wijzigt de herbruikbare vraag bij alle producten waaraan deze is toegewezen.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "data": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string",
                "minLength": 1,
                "maxLength": 240
              }
            },
            "required": [
              "text"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Herbruikbare productvraag: Bijwerken"
    },
    {
      "name": "delete_product_question",
      "method": "DELETE",
      "path": "/v1/workspaces/{workspaceId}/questions/{id}",
      "target": "workspace",
      "scope": "products:write",
      "description": "Verwijdert de herbruikbare vraag en alle toewijzingen.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Herbruikbare productvraag: Definitief verwijderen"
    },
    {
      "name": "get_product_questions",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/products/{id}/questions",
      "target": "workspace",
      "scope": "products:read",
      "description": "Geeft een geordende selectie, een bewust lege lijst of de drie standaardvragen van het sjabloon terug.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Vragenselectie voor een product: Lezen"
    },
    {
      "name": "assign_product_questions",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/products/{id}/questions",
      "target": "workspace",
      "scope": "products:write",
      "description": "Wijs nul tot vijf vraag-ID’s van de werkruimte toe in de gewenste productvolgorde. Een lege lijst verbergt beginvragen.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "data": {
            "type": "object",
            "properties": {
              "questionIds": {
                "minItems": 0,
                "maxItems": 5,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              }
            },
            "required": [
              "questionIds"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Vragenselectie voor een product: Toewijzen"
    },
    {
      "name": "reset_product_questions",
      "method": "DELETE",
      "path": "/v1/workspaces/{workspaceId}/products/{id}/questions",
      "target": "workspace",
      "scope": "products:write",
      "description": "Herstelt de drie standaardvragen uit het productsjabloon.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "id",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Vragenselectie voor een product: Standaardwaarden herstellen"
    },
    {
      "name": "list_usage_report",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/usage-report",
      "target": "workspace",
      "scope": "workspace:read",
      "description": "Geeft gepagineerd gebruik per gebruiker, AI-credits, modellen en activiteit terug, met datum-, zoek- en actorfilters.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "query": {
            "default": {
              "surface": "ALL",
              "page": 1,
              "pageSize": 25,
              "search": "",
              "actorType": "ALL",
              "sortBy": "credits",
              "sortDirection": "desc"
            },
            "type": "object",
            "properties": {
              "surface": {
                "default": "ALL",
                "type": "string",
                "enum": [
                  "ALL",
                  "HOSTED"
                ]
              },
              "page": {
                "default": 1,
                "type": "integer",
                "minimum": 1,
                "maximum": 9007199254740991
              },
              "pageSize": {
                "default": 25,
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              },
              "search": {
                "default": "",
                "type": "string",
                "maxLength": 200
              },
              "actorType": {
                "default": "ALL",
                "type": "string",
                "enum": [
                  "ALL",
                  "AUTH_USER",
                  "WORKSPACE_USER",
                  "WORKSPACE_KIOSK_DEVICE",
                  "GUEST"
                ]
              },
              "from": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              "to": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              "userId": {
                "type": "string",
                "maxLength": 160
              },
              "sortBy": {
                "default": "credits",
                "type": "string",
                "enum": [
                  "credits",
                  "requests",
                  "lastUsedAt",
                  "name"
                ]
              },
              "sortDirection": {
                "default": "desc",
                "type": "string",
                "enum": [
                  "asc",
                  "desc"
                ]
              }
            },
            "required": [
              "surface",
              "page",
              "pageSize",
              "search",
              "actorType",
              "sortBy",
              "sortDirection"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "query",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Gebruiksrapport: Lezen"
    },
    {
      "name": "list_usage_events",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/usage-report/events",
      "target": "workspace",
      "scope": "workspace:read",
      "description": "Geeft gepagineerde gebeurtenissen terug met gebruikers-, datum- en actorfilters. Interne sessie- en netwerkmetadata zijn uitgesloten.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "query": {
            "default": {
              "surface": "ALL",
              "page": 1,
              "pageSize": 25,
              "search": "",
              "actorType": "ALL",
              "sortBy": "credits",
              "sortDirection": "desc"
            },
            "type": "object",
            "properties": {
              "surface": {
                "default": "ALL",
                "type": "string",
                "enum": [
                  "ALL",
                  "HOSTED"
                ]
              },
              "page": {
                "default": 1,
                "type": "integer",
                "minimum": 1,
                "maximum": 9007199254740991
              },
              "pageSize": {
                "default": 25,
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              },
              "search": {
                "default": "",
                "type": "string",
                "maxLength": 200
              },
              "actorType": {
                "default": "ALL",
                "type": "string",
                "enum": [
                  "ALL",
                  "AUTH_USER",
                  "WORKSPACE_USER",
                  "WORKSPACE_KIOSK_DEVICE",
                  "GUEST"
                ]
              },
              "from": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              "to": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              "userId": {
                "type": "string",
                "maxLength": 160
              },
              "sortBy": {
                "default": "credits",
                "type": "string",
                "enum": [
                  "credits",
                  "requests",
                  "lastUsedAt",
                  "name"
                ]
              },
              "sortDirection": {
                "default": "desc",
                "type": "string",
                "enum": [
                  "asc",
                  "desc"
                ]
              }
            },
            "required": [
              "surface",
              "page",
              "pageSize",
              "search",
              "actorType",
              "sortBy",
              "sortDirection"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "query",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Activiteitsgebeurtenissen: Lezen"
    },
    {
      "name": "list_chatbot_templates",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/chatbot-templates",
      "target": "workspace",
      "scope": "website:read",
      "description": "Geeft ondersteunde indelingen met versies en bijbehorende presentatiemetadata terug.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Chatbotindelingen: Weergeven"
    },
    {
      "name": "update_chatbot_template",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/chatbot-template",
      "target": "workspace",
      "scope": "website:write",
      "description": "Wijzigt alleen de indeling. Huisstijl, toegestane origins, beschikbaarheid, sociale links en gesprekken blijven behouden.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "templateKey": {
                "type": "string",
                "enum": [
                  "support-v1",
                  "support-v2",
                  "support-v3",
                  "support-v4",
                  "ecommerce-v1",
                  "ecommerce-v2",
                  "ecommerce-v3",
                  "ecommerce-v4",
                  "cosmetics-v1",
                  "cosmetics-v2",
                  "cosmetics-v3",
                  "cosmetics-v4"
                ]
              }
            },
            "required": [
              "templateKey"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Chatbotindeling: Bijwerken"
    },
    {
      "name": "get_chatbot_settings",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/chatbot-settings",
      "target": "workspace",
      "scope": "website:read",
      "description": "Geeft de chatbotconfiguratie van de geselecteerde werkruimte terug.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Chatbotinstellingen: Lezen"
    },
    {
      "name": "update_chatbot_settings",
      "method": "PUT",
      "path": "/v1/workspaces/{workspaceId}/chatbot-settings",
      "target": "workspace",
      "scope": "website:write",
      "description": "Configureert de optioneel geactiveerde chatbot en de exact toegestane HTTPS-origins van websites.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "templateKey": {
                "type": "string",
                "enum": [
                  "support-v1",
                  "support-v2",
                  "support-v3",
                  "support-v4",
                  "ecommerce-v1",
                  "ecommerce-v2",
                  "ecommerce-v3",
                  "ecommerce-v4",
                  "cosmetics-v1",
                  "cosmetics-v2",
                  "cosmetics-v3",
                  "cosmetics-v4"
                ]
              },
              "enabled": {
                "default": true,
                "type": "boolean"
              },
              "templateSettings": {
                "default": {},
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "enum": [
                    "support-v1",
                    "support-v2",
                    "support-v3",
                    "support-v4",
                    "ecommerce-v1",
                    "ecommerce-v2",
                    "ecommerce-v3",
                    "ecommerce-v4",
                    "cosmetics-v1",
                    "cosmetics-v2",
                    "cosmetics-v3",
                    "cosmetics-v4"
                  ]
                },
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "compactIntro": {
                      "type": "boolean"
                    },
                    "showArticles": {
                      "type": "boolean"
                    },
                    "showContact": {
                      "type": "boolean"
                    },
                    "showProductSearch": {
                      "type": "boolean"
                    },
                    "showRoutine": {
                      "type": "boolean"
                    },
                    "showManualProfile": {
                      "type": "boolean"
                    },
                    "showPhoto": {
                      "type": "boolean"
                    },
                    "density": {
                      "type": "string",
                      "enum": [
                        "comfortable",
                        "compact"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "launcherIcon": {
                "default": "sparkles",
                "type": "string",
                "enum": [
                  "sparkles",
                  "message-circle",
                  "bot",
                  "headset",
                  "help-circle",
                  "shopping-bag",
                  "heart",
                  "flower",
                  "stars",
                  "smile"
                ]
              },
              "launcherDisplay": {
                "default": "icon-text",
                "type": "string",
                "enum": [
                  "icon",
                  "text",
                  "icon-text"
                ]
              },
              "launcherSize": {
                "default": "medium",
                "type": "string",
                "enum": [
                  "small",
                  "medium",
                  "large"
                ]
              },
              "launcherHighlight": {
                "default": "orbit",
                "type": "string",
                "enum": [
                  "none",
                  "orbit",
                  "halo",
                  "pulse",
                  "ripple",
                  "aurora",
                  "gradient",
                  "sparkle",
                  "beacon",
                  "float",
                  "outline"
                ]
              },
              "draggable": {
                "default": true,
                "type": "boolean"
              },
              "captureMode": {
                "default": "manual",
                "type": "string",
                "enum": [
                  "manual",
                  "automatic"
                ]
              },
              "authenticationMode": {
                "type": "string",
                "enum": [
                  "DISABLED",
                  "OPTIONAL",
                  "REQUIRED"
                ]
              },
              "allowedOrigins": {
                "default": [],
                "maxItems": 20,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 300
                }
              },
              "position": {
                "default": "bottom-right",
                "type": "string",
                "enum": [
                  "bottom-right",
                  "bottom-left"
                ]
              },
              "color": {
                "default": "#635bff",
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$"
              },
              "textColor": {
                "default": "#ffffff",
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$"
              },
              "title": {
                "default": "Help & Support",
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "launcherText": {
                "default": "Ask AI",
                "type": "string",
                "minLength": 1,
                "maxLength": 40
              },
              "welcomeText": {
                "default": "Ask AI a question or choose an available support option.",
                "type": "string",
                "minLength": 1,
                "maxLength": 600
              },
              "placeholder": {
                "default": "Ask a support question…",
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "defaultLanguage": {
                "default": "en",
                "type": "string",
                "enum": [
                  "en",
                  "tr",
                  "de",
                  "es",
                  "fr"
                ]
              },
              "messages": {
                "default": {},
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "enum": [
                    "en",
                    "tr",
                    "de",
                    "es",
                    "fr"
                  ]
                },
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "launcherText": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 40
                    },
                    "welcomeText": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 600
                    },
                    "placeholder": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 100
                    }
                  },
                  "required": [
                    "title",
                    "launcherText",
                    "welcomeText",
                    "placeholder"
                  ],
                  "additionalProperties": false
                }
              },
              "productBrowsingEnabled": {
                "default": true,
                "type": "boolean"
              },
              "photoAnalysisEnabled": {
                "default": true,
                "type": "boolean"
              },
              "contactEmailNotifications": {
                "default": false,
                "type": "boolean"
              },
              "contactForms": {
                "default": [],
                "maxItems": 3,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 100
                    },
                    "fields": {
                      "minItems": 1,
                      "maxItems": 12,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-z][a-z0-9_-]{0,39}$"
                          },
                          "label": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 100
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "TEXT",
                              "TEXTAREA",
                              "EMAIL",
                              "PHONE",
                              "SELECT",
                              "RADIO",
                              "CHECKBOX",
                              "BOOLEAN"
                            ]
                          },
                          "required": {
                            "type": "boolean"
                          },
                          "options": {
                            "default": [],
                            "maxItems": 12,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 80
                            }
                          }
                        },
                        "required": [
                          "id",
                          "label",
                          "type",
                          "required",
                          "options"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "translations": {
                      "default": {},
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "enum": [
                          "en",
                          "tr",
                          "de",
                          "es",
                          "fr"
                        ]
                      },
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 100
                          },
                          "fields": {
                            "type": "object",
                            "propertyNames": {
                              "type": "string",
                              "pattern": "^[a-z][a-z0-9_-]{0,39}$"
                            },
                            "additionalProperties": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 100
                                },
                                "options": {
                                  "maxItems": 12,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "value": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 80
                                      },
                                      "label": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 80
                                      }
                                    },
                                    "required": [
                                      "value",
                                      "label"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "additionalProperties": false
                            }
                          }
                        },
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "id",
                    "title",
                    "fields",
                    "translations"
                  ],
                  "additionalProperties": false
                }
              },
              "activeContactFormId": {
                "default": "default",
                "anyOf": [
                  {
                    "type": "string",
                    "const": "default"
                  },
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                ]
              },
              "starterQuestions": {
                "default": [],
                "maxItems": 20,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "text": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "translations": {
                      "default": {},
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "enum": [
                          "en",
                          "tr",
                          "de",
                          "es",
                          "fr"
                        ]
                      },
                      "additionalProperties": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    }
                  },
                  "required": [
                    "id",
                    "text",
                    "translations"
                  ],
                  "additionalProperties": false
                }
              },
              "selectedStarterIds": {
                "default": [
                  "about",
                  "services",
                  "contact",
                  "getting-started"
                ],
                "maxItems": 8,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 40
                }
              },
              "socialLinks": {
                "default": [],
                "maxItems": 7,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "platform": {
                      "type": "string",
                      "enum": [
                        "instagram",
                        "facebook",
                        "youtube",
                        "tiktok",
                        "linkedin",
                        "x",
                        "website"
                      ]
                    },
                    "url": {
                      "type": "string",
                      "maxLength": 2048,
                      "format": "uri"
                    },
                    "visible": {
                      "default": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "platform",
                    "url",
                    "visible"
                  ],
                  "additionalProperties": false
                }
              },
              "offset": {
                "default": 20,
                "type": "integer",
                "minimum": 8,
                "maximum": 100
              }
            },
            "required": [
              "enabled",
              "templateSettings",
              "launcherIcon",
              "launcherDisplay",
              "launcherSize",
              "launcherHighlight",
              "draggable",
              "captureMode",
              "allowedOrigins",
              "position",
              "color",
              "textColor",
              "title",
              "launcherText",
              "welcomeText",
              "placeholder",
              "defaultLanguage",
              "messages",
              "productBrowsingEnabled",
              "photoAnalysisEnabled",
              "contactEmailNotifications",
              "contactForms",
              "activeContactFormId",
              "starterQuestions",
              "selectedStarterIds",
              "socialLinks",
              "offset"
            ],
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "data",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Chatbotinstellingen: Bijwerken"
    },
    {
      "name": "get_chatbot_analytics",
      "method": "GET",
      "path": "/v1/workspaces/{workspaceId}/chatbot-analytics",
      "target": "workspace",
      "scope": "workspace:read",
      "description": "Geeft totalen voor bezoekers, berichten en routine-/productgebruik terug. Bezoekers-ID’s en berichttekst worden nooit teruggegeven.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "query": {
            "type": "object",
            "properties": {
              "from": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              "to": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              "origin": {
                "type": "string",
                "maxLength": 300
              }
            },
            "additionalProperties": false
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "required": [
          "query",
          "workspaceId"
        ],
        "additionalProperties": false
      },
      "title": "Chatbotstatistieken: Lezen"
    }
  ],
  "language": "nl"
}