{"openapi":"3.1.0","info":{"title":"BlokForms Management API","version":"1.0.0","description":"EU-hosted Form-as-a-Service management API and MCP backing service."},"components":{"schemas":{},"parameters":{}},"paths":{"/api/v1/organization/test-email":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"to":{"type":"string","format":"email"}},"required":["to"]}}}},"responses":{"200":{"description":"Test email sent"}}}},"/api/v1/organization/gdpr/erase":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"},"projectId":{"type":"string"},"formId":{"type":"string"},"dryRun":{"type":"boolean","default":true}},"required":["email"]}}}},"responses":{"200":{"description":"GDPR erasure preview or result"}}}},"/api/v1/projects":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"key":{"type":"string","maxLength":64,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"siteUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","enum":[""]}]},"allowedOrigins":{"type":"array","items":{"type":"string","minLength":1,"maxLength":255},"maxItems":50,"default":[]},"defaultSettings":{"type":"object","properties":{"notifyEmails":{"type":"array","items":{"type":"string","format":"email"},"maxItems":20},"turnstileSiteKey":{"type":"string","maxLength":128},"turnstileSecretKey":{"type":"string","maxLength":256},"defaultLocale":{"type":"string","minLength":2,"maxLength":16}},"default":{}}},"required":["name"]}}}},"responses":{"201":{"description":"Project created"}}}},"/api/v1/projects/:projectId":{"patch":{"parameters":[{"schema":{"type":"string"},"required":true,"name":"projectId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"key":{"type":"string","maxLength":64,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"siteUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","enum":[""]}]},"allowedOrigins":{"type":"array","items":{"type":"string","minLength":1,"maxLength":255},"maxItems":50,"default":[]},"defaultSettings":{"type":"object","properties":{"notifyEmails":{"type":"array","items":{"type":"string","format":"email"},"maxItems":20},"turnstileSiteKey":{"type":"string","maxLength":128},"turnstileSecretKey":{"type":"string","maxLength":256},"defaultLocale":{"type":"string","minLength":2,"maxLength":16}},"default":{}}}}}}},"responses":{"200":{"description":"Project updated"}}}},"/api/v1/projects/:projectId/forms":{"post":{"parameters":[{"schema":{"type":"string"},"required":true,"name":"projectId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":140},"key":{"type":"string","maxLength":64,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"description":{"type":"string","maxLength":1000},"templateId":{"type":"string","maxLength":64},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["text"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":500},"minLength":{"type":"integer","minimum":0,"maximum":10000},"maxLength":{"type":"integer","minimum":1,"maximum":10000},"format":{"type":"string","enum":["none","postal_nl","postal_eu","iban","vat_eu","slug","alphanumeric","phone_e164"]}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["email"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":320},"maxLength":{"type":"integer","minimum":3,"maximum":320}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["tel"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":40},"format":{"type":"string","enum":["none","postal_nl","postal_eu","iban","vat_eu","slug","alphanumeric","phone_e164"]}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["url"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":2000}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["textarea"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":10000},"rows":{"type":"integer","minimum":2,"maximum":24},"minLength":{"type":"integer","minimum":0,"maximum":10000},"maxLength":{"type":"integer","minimum":1,"maximum":20000}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["number"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"},"step":{"type":"number","minimum":0,"exclusiveMinimum":true},"integer":{"type":"boolean"}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["date"]},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":32},"min":{"type":"string","maxLength":32},"max":{"type":"string","maxLength":32}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["time"]},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":16},"min":{"type":"string","maxLength":16},"max":{"type":"string","maxLength":16}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["select"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":120},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"minItems":1,"maxItems":200}},"required":["id","name","label","type","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["radio"]},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":120},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"minItems":1,"maxItems":100}},"required":["id","name","label","type","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["checkboxes"]},"required":{"type":"boolean"},"defaultValue":{"type":"array","items":{"type":"string"}},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"minItems":1,"maxItems":100},"minSelected":{"type":"integer","minimum":0,"maximum":100},"maxSelected":{"type":"integer","minimum":1,"maximum":100}},"required":["id","name","label","type","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["checkbox"]},"required":{"type":"boolean"},"defaultValue":{"type":"boolean"},"checkboxLabel":{"type":"string","maxLength":300}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["consent"]},"required":{"type":"boolean","enum":[true]},"privacyUrl":{"type":"string","format":"uri"},"privacyLabel":{"type":"string","maxLength":120}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["hidden"]},"defaultValue":{"type":"string","maxLength":500},"fromQuery":{"type":"string","maxLength":64}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["file"]},"required":{"type":"boolean"},"accept":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":20},"maxSize":{"type":"integer","minimum":1024,"maximum":10485760},"max":{"type":"integer","minimum":1,"maximum":10}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["signature"]},"required":{"type":"boolean"},"penColor":{"type":"string","maxLength":32},"backgroundColor":{"type":"string","maxLength":32},"height":{"type":"integer","minimum":80,"maximum":400}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["rating"]},"required":{"type":"boolean"},"defaultValue":{"type":"integer"},"style":{"type":"string","enum":["stars","scale"]},"min":{"type":"integer","minimum":0,"maximum":10},"max":{"type":"integer","minimum":2,"maximum":10},"minLabel":{"type":"string","maxLength":80},"maxLabel":{"type":"string","maxLength":80}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["matrix"]},"required":{"type":"boolean"},"cellType":{"type":"string","enum":["radio","checkbox","text"]},"rows":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"minItems":1,"maxItems":30},"columns":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"minItems":1,"maxItems":12}},"required":["id","name","label","type","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["address"]},"required":{"type":"boolean"},"showHouseNumber":{"type":"boolean"},"showCountry":{"type":"boolean"},"defaultCountry":{"type":"string","maxLength":100},"postalFormat":{"type":"string","enum":["none","postal_nl","postal_eu"]}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["repeater"]},"required":{"type":"boolean"},"minRows":{"type":"integer","minimum":0,"maximum":25},"maxRows":{"type":"integer","minimum":1,"maximum":25},"addLabel":{"type":"string","maxLength":80},"subFields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":160},"type":{"type":"string","enum":["text","email","number","date","select"]},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":160},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"maxItems":50}},"required":["name","label","type"]},"minItems":1,"maxItems":10}},"required":["id","name","label","type","subFields"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["image_choice"]},"required":{"type":"boolean"},"multiple":{"type":"boolean"},"minSelected":{"type":"integer","minimum":0,"maximum":50},"maxSelected":{"type":"integer","minimum":1,"maximum":50},"columns":{"anyOf":[{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]}]},"defaultValue":{"anyOf":[{"type":"string","maxLength":120},{"type":"array","items":{"type":"string","maxLength":120}}]},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"},"imageUrl":{"type":"string","minLength":1,"maxLength":2000},"description":{"type":"string","maxLength":300}},"required":["value","label","imageUrl"]},"minItems":1,"maxItems":50}},"required":["id","name","label","type","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["calculation"]},"formula":{"type":"string","minLength":1,"maxLength":500},"prefix":{"type":"string","maxLength":24},"suffix":{"type":"string","maxLength":24},"decimals":{"type":"integer","minimum":0,"maximum":6},"hidden":{"type":"boolean"}},"required":["id","name","label","type","formula"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["product_list"]},"required":{"type":"boolean"},"mode":{"type":"string","enum":["products","donation","fixed"]},"currency":{"type":"string","enum":["EUR","USD","GBP"]},"vatRatePercent":{"type":"number","minimum":0,"maximum":50},"pricesIncludeVat":{"type":"boolean"},"allowCoupons":{"type":"boolean"},"coupons":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":64},"discountType":{"type":"string","enum":["percent","fixed"]},"value":{"type":"number","minimum":0,"maximum":10000000},"active":{"type":"boolean"}},"required":["code","discountType","value"]},"maxItems":50},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":160},"description":{"type":"string","maxLength":400},"priceCents":{"type":"integer","minimum":0,"maximum":100000000},"imageUrl":{"type":"string","maxLength":2000},"maxQty":{"type":"integer","minimum":1,"maximum":999},"stockLimit":{"type":"integer","minimum":1,"maximum":1000000},"variants":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":20},"recurringInterval":{"type":"string","enum":["month","year"]}},"required":["id","name","priceCents"]},"maxItems":50},"fixedAmountCents":{"type":"integer","minimum":0,"maximum":100000000},"fixedItemLabel":{"type":"string","maxLength":160},"minAmountCents":{"type":"integer","minimum":0,"maximum":100000000},"presetAmountsCents":{"type":"array","items":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":100000000},"maxItems":8}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["appointment"]},"required":{"type":"boolean"},"durationMinutes":{"type":"integer","minimum":10,"maximum":480},"bufferMinutes":{"type":"integer","minimum":0,"maximum":240},"maxBookingsPerSlot":{"type":"integer","minimum":1,"maximum":500},"timezone":{"type":"string","minLength":2,"maxLength":64},"availableDays":{"type":"array","items":{"type":"integer","minimum":0,"maximum":6},"maxItems":7},"startTime":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"endTime":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"minNoticeHours":{"type":"integer","minimum":0,"maximum":168},"maxAdvanceDays":{"type":"integer","minimum":1,"maximum":365}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["heading"]},"level":{"anyOf":[{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]}]}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["paragraph"]},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","name","label","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["section"]},"nextLabel":{"type":"string","maxLength":80},"prevLabel":{"type":"string","maxLength":80}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["divider"]},"style":{"type":"string","enum":["solid","dashed","dotted"]}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["image"]},"src":{"type":"string","minLength":1,"maxLength":2000},"alt":{"type":"string","maxLength":200},"caption":{"type":"string","maxLength":400},"align":{"type":"string","enum":["left","center","right"]},"maxWidth":{"type":"string","maxLength":32}},"required":["id","name","label","type","src"]}]},"maxItems":120},"settings":{"type":"object","properties":{"layout":{"type":"string","enum":["classic","card"]},"honeypotField":{"type":"string","minLength":1,"maxLength":64},"minFillTimeMs":{"type":"integer","minimum":0,"maximum":60000},"turnstileEnabled":{"type":"boolean"},"turnstileSiteKey":{"type":"string","maxLength":128},"turnstileSecretKey":{"type":"string","maxLength":256},"notifyEmails":{"type":"array","items":{"type":"string","format":"email"},"maxItems":20},"notifyRules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","contains","in"]},"value":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"recipients":{"type":"array","items":{"type":"string","format":"email"},"minItems":1,"maxItems":20}},"required":["id","field","operator","value","recipients"]},"maxItems":50},"logicRules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"when":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["skip_step"]},"targetStep":{"type":"string","minLength":1,"maxLength":64}},"required":["type","targetStep"]},{"type":"object","properties":{"type":{"type":"string","enum":["require_field"]},"targetField":{"type":"string","minLength":1,"maxLength":64},"required":{"type":"boolean"}},"required":["type","targetField","required"]},{"type":"object","properties":{"type":{"type":"string","enum":["disable_field"]},"targetField":{"type":"string","minLength":1,"maxLength":64},"disabled":{"type":"boolean"}},"required":["type","targetField","disabled"]},{"type":"object","properties":{"type":{"type":"string","enum":["set_value"]},"targetField":{"type":"string","minLength":1,"maxLength":64},"value":{"anyOf":[{"type":"string","maxLength":500},{"type":"number"},{"type":"boolean"}]},"formula":{"type":"string","maxLength":500}},"required":["type","targetField"]},{"type":"object","properties":{"type":{"type":"string","enum":["thank_you"]},"message":{"type":"string","maxLength":1000},"redirectUrl":{"type":"string","format":"uri"}},"required":["type"]}]}},"required":["id","when","action"]},"maxItems":60},"autoResponder":{"type":"object","properties":{"enabled":{"type":"boolean"},"emailField":{"type":"string","minLength":1,"maxLength":64},"subject":{"type":"string","minLength":1,"maxLength":200},"body":{"type":"string","minLength":1,"maxLength":8000},"fromName":{"type":"string","maxLength":120},"localizedSubjects":{"type":"object","additionalProperties":{"type":"string","maxLength":200}},"localizedBodies":{"type":"object","additionalProperties":{"type":"string","maxLength":8000}}},"required":["enabled","emailField","subject","body"]},"successMessage":{"type":"string","maxLength":1000},"redirectUrl":{"type":"string","format":"uri"},"allowedOrigins":{"type":"array","items":{"type":"string","minLength":1,"maxLength":255},"maxItems":50},"submitLabel":{"type":"string","maxLength":80},"allowSaveAndContinue":{"type":"boolean"},"draftTtlDays":{"type":"integer","minimum":1,"maximum":90},"allowPrefill":{"type":"boolean"},"allowSubmitterEdit":{"type":"boolean"},"publicReportEnabled":{"type":"boolean"},"publicReportToken":{"type":"string","maxLength":128},"lifecycle":{"type":"object","properties":{"opensAt":{"type":"string","format":"date-time"},"closesAt":{"type":"string","format":"date-time"},"maxSubmissions":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":1000000},"uniqueField":{"type":"string","minLength":1,"maxLength":64},"closedMessage":{"type":"string","maxLength":500},"retentionDays":{"type":"integer","minimum":1,"maximum":3650}}},"payments":{"type":"object","properties":{"enabled":{"type":"boolean"},"provider":{"type":"string","enum":["mollie","stripe"]},"currency":{"type":"string","enum":["EUR","USD","GBP"]},"description":{"type":"string","maxLength":200},"mode":{"type":"string","enum":["one_time","subscription"]},"amountField":{"type":"string","maxLength":64},"successRedirectUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","enum":[""]}]},"cancelRedirectUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","enum":[""]}]},"sendReceiptEmail":{"type":"boolean"}},"required":["enabled","provider"]},"pdf":{"type":"object","properties":{"enabled":{"type":"boolean"},"title":{"type":"string","maxLength":160},"subtitle":{"type":"string","maxLength":200},"accentColor":{"type":"string","maxLength":32},"headerText":{"type":"string","maxLength":160},"footerText":{"type":"string","maxLength":200},"showEmptyFields":{"type":"boolean"},"includeMetadata":{"type":"boolean"},"includeAuditCertificate":{"type":"boolean"},"attachToOwnerEmail":{"type":"boolean"},"attachToAutoResponder":{"type":"boolean"},"filenameTemplate":{"type":"string","maxLength":120}},"required":["enabled"]},"signing":{"type":"object","properties":{"enabled":{"type":"boolean"},"documentTitle":{"type":"string","maxLength":200},"documentBody":{"type":"string","maxLength":16000},"requireEmailVerification":{"type":"boolean"},"expirationDays":{"type":"integer","minimum":1,"maximum":90},"signers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"role":{"type":"string","minLength":1,"maxLength":80},"order":{"type":"integer","minimum":1,"maximum":20},"emailField":{"type":"string","maxLength":64},"fixedEmail":{"anyOf":[{"type":"string","format":"email"},{"type":"string","enum":[""]}]},"nameField":{"type":"string","maxLength":64},"fixedName":{"type":"string","maxLength":120}},"required":["id","role","order"]},"maxItems":10}},"required":["enabled"]},"workflow":{"type":"object","properties":{"enabled":{"type":"boolean"},"steps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":120},"order":{"type":"integer","minimum":1,"maximum":20},"approverEmail":{"type":"string","format":"email"},"approverName":{"type":"string","maxLength":120},"condition":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"reminderAfterHours":{"type":"integer","minimum":1,"maximum":336}},"required":["id","name","order","approverEmail"]},"maxItems":10},"onApproved":{"type":"object","properties":{"setStatus":{"type":"string","enum":["new","read","archived","spam"]},"notifySubmitter":{"type":"boolean"},"emailSubject":{"type":"string","maxLength":200},"emailBody":{"type":"string","maxLength":4000}}},"onDenied":{"type":"object","properties":{"setStatus":{"type":"string","enum":["new","read","archived","spam"]},"notifySubmitter":{"type":"boolean"},"emailSubject":{"type":"string","maxLength":200},"emailBody":{"type":"string","maxLength":4000}}}},"required":["enabled"]},"digest":{"type":"object","properties":{"enabled":{"type":"boolean"},"frequency":{"type":"string","enum":["daily","weekly"],"default":"daily"},"recipients":{"type":"array","items":{"type":"string","format":"email"},"maxItems":20,"default":[]},"lastSentAt":{"type":"string","maxLength":64}},"required":["enabled"]},"security":{"type":"object","properties":{"passwordEnabled":{"type":"boolean"},"passwordHash":{"type":"string","maxLength":256},"passwordHint":{"type":"string","maxLength":200},"password":{"type":"string","maxLength":128}}}}},"theme":{"type":"object","properties":{"preset":{"type":"string","maxLength":64},"mode":{"type":"string","enum":["light","dark","auto"]},"accent":{"type":"string","maxLength":64},"accentHover":{"type":"string","maxLength":64},"bg":{"type":"string","maxLength":64},"surface":{"type":"string","maxLength":64},"text":{"type":"string","maxLength":64},"muted":{"type":"string","maxLength":64},"border":{"type":"string","maxLength":64},"error":{"type":"string","maxLength":64},"radius":{"type":"string","maxLength":32},"density":{"type":"string","enum":["compact","comfortable","spacious"]},"font":{"type":"string","maxLength":200},"buttonStyle":{"type":"string","enum":["solid","outline","pill"]},"logoUrl":{"type":"string","maxLength":2000},"coverImageUrl":{"type":"string","maxLength":2000},"customCss":{"type":"string","maxLength":8000},"hideBranding":{"type":"boolean"}}},"i18n":{"type":"object","properties":{"defaultLocale":{"type":"string","minLength":2,"maxLength":16,"default":"en"},"locales":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":1000},"submitLabel":{"type":"string","maxLength":80},"successMessage":{"type":"string","maxLength":1000},"closedMessage":{"type":"string","maxLength":500},"fields":{"type":"object","additionalProperties":{"type":"object","properties":{"label":{"type":"string","maxLength":300},"placeholder":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":600},"checkboxLabel":{"type":"string","maxLength":300},"privacyLabel":{"type":"string","maxLength":120},"content":{"type":"string","maxLength":4000},"nextLabel":{"type":"string","maxLength":80},"prevLabel":{"type":"string","maxLength":80},"addLabel":{"type":"string","maxLength":80},"minLabel":{"type":"string","maxLength":80},"maxLabel":{"type":"string","maxLength":80},"caption":{"type":"string","maxLength":400},"options":{"type":"object","additionalProperties":{"type":"string","maxLength":200}}}}}}},"default":{}}}},"active":{"type":"boolean"}},"required":["name"]}}}},"responses":{"201":{"description":"Form created"}}}},"/api/v1/forms/:formId":{"patch":{"parameters":[{"schema":{"type":"string"},"required":true,"name":"formId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":140},"key":{"type":"string","maxLength":64,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"description":{"type":"string","nullable":true,"maxLength":1000},"fields":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["text"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":500},"minLength":{"type":"integer","minimum":0,"maximum":10000},"maxLength":{"type":"integer","minimum":1,"maximum":10000},"format":{"type":"string","enum":["none","postal_nl","postal_eu","iban","vat_eu","slug","alphanumeric","phone_e164"]}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["email"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":320},"maxLength":{"type":"integer","minimum":3,"maximum":320}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["tel"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":40},"format":{"type":"string","enum":["none","postal_nl","postal_eu","iban","vat_eu","slug","alphanumeric","phone_e164"]}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["url"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":2000}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["textarea"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":10000},"rows":{"type":"integer","minimum":2,"maximum":24},"minLength":{"type":"integer","minimum":0,"maximum":10000},"maxLength":{"type":"integer","minimum":1,"maximum":20000}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["number"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"},"step":{"type":"number","minimum":0,"exclusiveMinimum":true},"integer":{"type":"boolean"}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["date"]},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":32},"min":{"type":"string","maxLength":32},"max":{"type":"string","maxLength":32}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["time"]},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":16},"min":{"type":"string","maxLength":16},"max":{"type":"string","maxLength":16}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["select"]},"placeholder":{"type":"string","maxLength":200},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":120},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"minItems":1,"maxItems":200}},"required":["id","name","label","type","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["radio"]},"required":{"type":"boolean"},"defaultValue":{"type":"string","maxLength":120},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"minItems":1,"maxItems":100}},"required":["id","name","label","type","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["checkboxes"]},"required":{"type":"boolean"},"defaultValue":{"type":"array","items":{"type":"string"}},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"minItems":1,"maxItems":100},"minSelected":{"type":"integer","minimum":0,"maximum":100},"maxSelected":{"type":"integer","minimum":1,"maximum":100}},"required":["id","name","label","type","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["checkbox"]},"required":{"type":"boolean"},"defaultValue":{"type":"boolean"},"checkboxLabel":{"type":"string","maxLength":300}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["consent"]},"required":{"type":"boolean","enum":[true]},"privacyUrl":{"type":"string","format":"uri"},"privacyLabel":{"type":"string","maxLength":120}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["hidden"]},"defaultValue":{"type":"string","maxLength":500},"fromQuery":{"type":"string","maxLength":64}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["file"]},"required":{"type":"boolean"},"accept":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":20},"maxSize":{"type":"integer","minimum":1024,"maximum":10485760},"max":{"type":"integer","minimum":1,"maximum":10}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["signature"]},"required":{"type":"boolean"},"penColor":{"type":"string","maxLength":32},"backgroundColor":{"type":"string","maxLength":32},"height":{"type":"integer","minimum":80,"maximum":400}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["rating"]},"required":{"type":"boolean"},"defaultValue":{"type":"integer"},"style":{"type":"string","enum":["stars","scale"]},"min":{"type":"integer","minimum":0,"maximum":10},"max":{"type":"integer","minimum":2,"maximum":10},"minLabel":{"type":"string","maxLength":80},"maxLabel":{"type":"string","maxLength":80}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["matrix"]},"required":{"type":"boolean"},"cellType":{"type":"string","enum":["radio","checkbox","text"]},"rows":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"minItems":1,"maxItems":30},"columns":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"minItems":1,"maxItems":12}},"required":["id","name","label","type","rows","columns"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["address"]},"required":{"type":"boolean"},"showHouseNumber":{"type":"boolean"},"showCountry":{"type":"boolean"},"defaultCountry":{"type":"string","maxLength":100},"postalFormat":{"type":"string","enum":["none","postal_nl","postal_eu"]}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["repeater"]},"required":{"type":"boolean"},"minRows":{"type":"integer","minimum":0,"maximum":25},"maxRows":{"type":"integer","minimum":1,"maximum":25},"addLabel":{"type":"string","maxLength":80},"subFields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":160},"type":{"type":"string","enum":["text","email","number","date","select"]},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":160},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"}},"required":["value","label"]},"maxItems":50}},"required":["name","label","type"]},"minItems":1,"maxItems":10}},"required":["id","name","label","type","subFields"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["image_choice"]},"required":{"type":"boolean"},"multiple":{"type":"boolean"},"minSelected":{"type":"integer","minimum":0,"maximum":50},"maxSelected":{"type":"integer","minimum":1,"maximum":50},"columns":{"anyOf":[{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]}]},"defaultValue":{"anyOf":[{"type":"string","maxLength":120},{"type":"array","items":{"type":"string","maxLength":120}}]},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":120},"label":{"type":"string","minLength":1,"maxLength":200},"calcValue":{"type":"number"},"imageUrl":{"type":"string","minLength":1,"maxLength":2000},"description":{"type":"string","maxLength":300}},"required":["value","label","imageUrl"]},"minItems":1,"maxItems":50}},"required":["id","name","label","type","options"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["calculation"]},"formula":{"type":"string","minLength":1,"maxLength":500},"prefix":{"type":"string","maxLength":24},"suffix":{"type":"string","maxLength":24},"decimals":{"type":"integer","minimum":0,"maximum":6},"hidden":{"type":"boolean"}},"required":["id","name","label","type","formula"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["product_list"]},"required":{"type":"boolean"},"mode":{"type":"string","enum":["products","donation","fixed"]},"currency":{"type":"string","enum":["EUR","USD","GBP"]},"vatRatePercent":{"type":"number","minimum":0,"maximum":50},"pricesIncludeVat":{"type":"boolean"},"allowCoupons":{"type":"boolean"},"coupons":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":64},"discountType":{"type":"string","enum":["percent","fixed"]},"value":{"type":"number","minimum":0,"maximum":10000000},"active":{"type":"boolean"}},"required":["code","discountType","value"]},"maxItems":50},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":160},"description":{"type":"string","maxLength":400},"priceCents":{"type":"integer","minimum":0,"maximum":100000000},"imageUrl":{"type":"string","maxLength":2000},"maxQty":{"type":"integer","minimum":1,"maximum":999},"stockLimit":{"type":"integer","minimum":1,"maximum":1000000},"variants":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":20},"recurringInterval":{"type":"string","enum":["month","year"]}},"required":["id","name","priceCents"]},"maxItems":50},"fixedAmountCents":{"type":"integer","minimum":0,"maximum":100000000},"fixedItemLabel":{"type":"string","maxLength":160},"minAmountCents":{"type":"integer","minimum":0,"maximum":100000000},"presetAmountsCents":{"type":"array","items":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":100000000},"maxItems":8}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["appointment"]},"required":{"type":"boolean"},"durationMinutes":{"type":"integer","minimum":10,"maximum":480},"bufferMinutes":{"type":"integer","minimum":0,"maximum":240},"maxBookingsPerSlot":{"type":"integer","minimum":1,"maximum":500},"timezone":{"type":"string","minLength":2,"maxLength":64},"availableDays":{"type":"array","items":{"type":"integer","minimum":0,"maximum":6},"maxItems":7},"startTime":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"endTime":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"minNoticeHours":{"type":"integer","minimum":0,"maximum":168},"maxAdvanceDays":{"type":"integer","minimum":1,"maximum":365}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["heading"]},"level":{"anyOf":[{"type":"number","enum":[2]},{"type":"number","enum":[3]},{"type":"number","enum":[4]}]}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["paragraph"]},"content":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","name","label","type","content"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["section"]},"nextLabel":{"type":"string","maxLength":80},"prevLabel":{"type":"string","maxLength":80}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["divider"]},"style":{"type":"string","enum":["solid","dashed","dotted"]}},"required":["id","name","label","type"]},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"label":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":600},"width":{"type":"string","enum":["full","half"]},"showIf":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"type":{"type":"string","enum":["image"]},"src":{"type":"string","minLength":1,"maxLength":2000},"alt":{"type":"string","maxLength":200},"caption":{"type":"string","maxLength":400},"align":{"type":"string","enum":["left","center","right"]},"maxWidth":{"type":"string","maxLength":32}},"required":["id","name","label","type","src"]}]},"maxItems":120},"settings":{"type":"object","properties":{"layout":{"type":"string","enum":["classic","card"]},"honeypotField":{"type":"string","minLength":1,"maxLength":64},"minFillTimeMs":{"type":"integer","minimum":0,"maximum":60000},"turnstileEnabled":{"type":"boolean"},"turnstileSiteKey":{"type":"string","maxLength":128},"turnstileSecretKey":{"type":"string","maxLength":256},"notifyEmails":{"type":"array","items":{"type":"string","format":"email"},"maxItems":20},"notifyRules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","contains","in"]},"value":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"recipients":{"type":"array","items":{"type":"string","format":"email"},"minItems":1,"maxItems":20}},"required":["id","field","operator","value","recipients"]},"maxItems":50},"logicRules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"when":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["skip_step"]},"targetStep":{"type":"string","minLength":1,"maxLength":64}},"required":["type","targetStep"]},{"type":"object","properties":{"type":{"type":"string","enum":["require_field"]},"targetField":{"type":"string","minLength":1,"maxLength":64},"required":{"type":"boolean"}},"required":["type","targetField","required"]},{"type":"object","properties":{"type":{"type":"string","enum":["disable_field"]},"targetField":{"type":"string","minLength":1,"maxLength":64},"disabled":{"type":"boolean"}},"required":["type","targetField","disabled"]},{"type":"object","properties":{"type":{"type":"string","enum":["set_value"]},"targetField":{"type":"string","minLength":1,"maxLength":64},"value":{"anyOf":[{"type":"string","maxLength":500},{"type":"number"},{"type":"boolean"}]},"formula":{"type":"string","maxLength":500}},"required":["type","targetField"]},{"type":"object","properties":{"type":{"type":"string","enum":["thank_you"]},"message":{"type":"string","maxLength":1000},"redirectUrl":{"type":"string","format":"uri"}},"required":["type"]}]}},"required":["id","when","action"]},"maxItems":60},"autoResponder":{"type":"object","properties":{"enabled":{"type":"boolean"},"emailField":{"type":"string","minLength":1,"maxLength":64},"subject":{"type":"string","minLength":1,"maxLength":200},"body":{"type":"string","minLength":1,"maxLength":8000},"fromName":{"type":"string","maxLength":120},"localizedSubjects":{"type":"object","additionalProperties":{"type":"string","maxLength":200}},"localizedBodies":{"type":"object","additionalProperties":{"type":"string","maxLength":8000}}},"required":["enabled","emailField","subject","body"]},"successMessage":{"type":"string","maxLength":1000},"redirectUrl":{"type":"string","format":"uri"},"allowedOrigins":{"type":"array","items":{"type":"string","minLength":1,"maxLength":255},"maxItems":50},"submitLabel":{"type":"string","maxLength":80},"allowSaveAndContinue":{"type":"boolean"},"draftTtlDays":{"type":"integer","minimum":1,"maximum":90},"allowPrefill":{"type":"boolean"},"allowSubmitterEdit":{"type":"boolean"},"publicReportEnabled":{"type":"boolean"},"publicReportToken":{"type":"string","maxLength":128},"lifecycle":{"type":"object","properties":{"opensAt":{"type":"string","format":"date-time"},"closesAt":{"type":"string","format":"date-time"},"maxSubmissions":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":1000000},"uniqueField":{"type":"string","minLength":1,"maxLength":64},"closedMessage":{"type":"string","maxLength":500},"retentionDays":{"type":"integer","minimum":1,"maximum":3650}}},"payments":{"type":"object","properties":{"enabled":{"type":"boolean"},"provider":{"type":"string","enum":["mollie","stripe"]},"currency":{"type":"string","enum":["EUR","USD","GBP"]},"description":{"type":"string","maxLength":200},"mode":{"type":"string","enum":["one_time","subscription"]},"amountField":{"type":"string","maxLength":64},"successRedirectUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","enum":[""]}]},"cancelRedirectUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","enum":[""]}]},"sendReceiptEmail":{"type":"boolean"}},"required":["enabled","provider"]},"pdf":{"type":"object","properties":{"enabled":{"type":"boolean"},"title":{"type":"string","maxLength":160},"subtitle":{"type":"string","maxLength":200},"accentColor":{"type":"string","maxLength":32},"headerText":{"type":"string","maxLength":160},"footerText":{"type":"string","maxLength":200},"showEmptyFields":{"type":"boolean"},"includeMetadata":{"type":"boolean"},"includeAuditCertificate":{"type":"boolean"},"attachToOwnerEmail":{"type":"boolean"},"attachToAutoResponder":{"type":"boolean"},"filenameTemplate":{"type":"string","maxLength":120}},"required":["enabled"]},"signing":{"type":"object","properties":{"enabled":{"type":"boolean"},"documentTitle":{"type":"string","maxLength":200},"documentBody":{"type":"string","maxLength":16000},"requireEmailVerification":{"type":"boolean"},"expirationDays":{"type":"integer","minimum":1,"maximum":90},"signers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"role":{"type":"string","minLength":1,"maxLength":80},"order":{"type":"integer","minimum":1,"maximum":20},"emailField":{"type":"string","maxLength":64},"fixedEmail":{"anyOf":[{"type":"string","format":"email"},{"type":"string","enum":[""]}]},"nameField":{"type":"string","maxLength":64},"fixedName":{"type":"string","maxLength":120}},"required":["id","role","order"]},"maxItems":10}},"required":["enabled"]},"workflow":{"type":"object","properties":{"enabled":{"type":"boolean"},"steps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":120},"order":{"type":"integer","minimum":1,"maximum":20},"approverEmail":{"type":"string","format":"email"},"approverName":{"type":"string","maxLength":120},"condition":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":64},"operator":{"type":"string","enum":["eq","neq","in","not_in","contains","filled","empty","gt","gte","lt","lte"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"required":["field","operator"]},"minItems":1,"maxItems":20}},"required":["match","rules"]}]},"reminderAfterHours":{"type":"integer","minimum":1,"maximum":336}},"required":["id","name","order","approverEmail"]},"maxItems":10},"onApproved":{"type":"object","properties":{"setStatus":{"type":"string","enum":["new","read","archived","spam"]},"notifySubmitter":{"type":"boolean"},"emailSubject":{"type":"string","maxLength":200},"emailBody":{"type":"string","maxLength":4000}}},"onDenied":{"type":"object","properties":{"setStatus":{"type":"string","enum":["new","read","archived","spam"]},"notifySubmitter":{"type":"boolean"},"emailSubject":{"type":"string","maxLength":200},"emailBody":{"type":"string","maxLength":4000}}}},"required":["enabled"]},"digest":{"type":"object","properties":{"enabled":{"type":"boolean"},"frequency":{"type":"string","enum":["daily","weekly"],"default":"daily"},"recipients":{"type":"array","items":{"type":"string","format":"email"},"maxItems":20,"default":[]},"lastSentAt":{"type":"string","maxLength":64}},"required":["enabled"]},"security":{"type":"object","properties":{"passwordEnabled":{"type":"boolean"},"passwordHash":{"type":"string","maxLength":256},"passwordHint":{"type":"string","maxLength":200},"password":{"type":"string","maxLength":128}}}}},"theme":{"type":"object","properties":{"preset":{"type":"string","maxLength":64},"mode":{"type":"string","enum":["light","dark","auto"]},"accent":{"type":"string","maxLength":64},"accentHover":{"type":"string","maxLength":64},"bg":{"type":"string","maxLength":64},"surface":{"type":"string","maxLength":64},"text":{"type":"string","maxLength":64},"muted":{"type":"string","maxLength":64},"border":{"type":"string","maxLength":64},"error":{"type":"string","maxLength":64},"radius":{"type":"string","maxLength":32},"density":{"type":"string","enum":["compact","comfortable","spacious"]},"font":{"type":"string","maxLength":200},"buttonStyle":{"type":"string","enum":["solid","outline","pill"]},"logoUrl":{"type":"string","maxLength":2000},"coverImageUrl":{"type":"string","maxLength":2000},"customCss":{"type":"string","maxLength":8000},"hideBranding":{"type":"boolean"}}},"i18n":{"type":"object","properties":{"defaultLocale":{"type":"string","minLength":2,"maxLength":16,"default":"en"},"locales":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":1000},"submitLabel":{"type":"string","maxLength":80},"successMessage":{"type":"string","maxLength":1000},"closedMessage":{"type":"string","maxLength":500},"fields":{"type":"object","additionalProperties":{"type":"object","properties":{"label":{"type":"string","maxLength":300},"placeholder":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":600},"checkboxLabel":{"type":"string","maxLength":300},"privacyLabel":{"type":"string","maxLength":120},"content":{"type":"string","maxLength":4000},"nextLabel":{"type":"string","maxLength":80},"prevLabel":{"type":"string","maxLength":80},"addLabel":{"type":"string","maxLength":80},"minLabel":{"type":"string","maxLength":80},"maxLabel":{"type":"string","maxLength":80},"caption":{"type":"string","maxLength":400},"options":{"type":"object","additionalProperties":{"type":"string","maxLength":200}}}}}}},"default":{}}}},"active":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Form updated"}}}},"/api/v1/submissions/triage":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"submissionIds":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":200},"action":{"type":"string","enum":["mark_read","mark_new","archive","spam","assign","delete"]},"assigneeId":{"type":"string","nullable":true}},"required":["submissionIds","action"]}}}},"responses":{"200":{"description":"Bulk triage completed"}}}},"/api/v1/submissions/:submissionId":{"patch":{"parameters":[{"schema":{"type":"string"},"required":true,"name":"submissionId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":{"nullable":true}},"status":{"type":"string","enum":["new","read","archived","spam"]}},"required":["data"]}}}},"responses":{"200":{"description":"Submission updated with audit revision"}}}},"/api/v1/submissions/:submissionId/edit-link":{"post":{"parameters":[{"schema":{"type":"string"},"required":true,"name":"submissionId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"expiresInDays":{"type":"integer","minimum":1,"maximum":90,"default":14}}}}}},"responses":{"201":{"description":"Signed respondent edit link created"}}}},"/api/v1/submissions/:submissionId/notes":{"post":{"parameters":[{"schema":{"type":"string"},"required":true,"name":"submissionId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":4000}},"required":["body"]}}}},"responses":{"201":{"description":"Note added"}}}},"/api/v1/organization/payments/:provider":{"put":{"parameters":[{"schema":{"type":"string","enum":["mollie","stripe"]},"required":true,"name":"provider","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","enum":["test","live"],"default":"test"},"label":{"type":"string","minLength":1,"maxLength":100},"apiKey":{"type":"string","minLength":4,"maxLength":300},"webhookSecret":{"type":"string","maxLength":300},"publishableKey":{"type":"string","maxLength":300},"enabled":{"type":"boolean","default":true}},"required":["apiKey"]}}}},"responses":{"200":{"description":"Payment provider connection saved (AES-GCM encrypted)"}}}},"/api/v1/submissions/:submissionId/envelopes":{"post":{"parameters":[{"schema":{"type":"string"},"required":true,"name":"submissionId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"documentBody":{"type":"string","maxLength":16000},"requireEmailVerification":{"type":"boolean","default":true},"expirationDays":{"type":"integer","minimum":1,"maximum":90,"default":14},"signers":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":120},"email":{"type":"string","format":"email"},"order":{"type":"integer","minimum":1,"maximum":20,"default":1}},"required":["role","name","email"]},"minItems":1,"maxItems":10}},"required":["title","signers"]}}}},"responses":{"201":{"description":"BlokForms Sign envelope created and invitations sent"}}}},"/api/v1/webhooks":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1},"formId":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","minLength":1,"maxLength":120},"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"type":"string","enum":["submission.created","submission.spam","submission.updated","payment.paid","payment.failed","payment.refunded","signature.completed","signature.declined","approval.approved","approval.denied","booking.created"]},"minItems":1,"default":["submission.created"]},"active":{"type":"boolean","default":true}},"required":["projectId","name","url"]}}}},"responses":{"201":{"description":"Webhook created"}}}},"/api/v1/webhooks/:webhookId":{"patch":{"parameters":[{"schema":{"type":"string"},"required":true,"name":"webhookId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"type":"string","enum":["submission.created","submission.spam","submission.updated","payment.paid","payment.failed","payment.refunded","signature.completed","signature.declined","approval.approved","approval.denied","booking.created"]},"minItems":1},"active":{"type":"boolean"},"rotateSecret":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Webhook updated"}}}},"/api/v1/tokens":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"scopes":{"type":"array","items":{"type":"string","enum":["forms:read","forms:manage","submissions:read","submissions:manage","webhooks:manage","tokens:manage"]},"minItems":1,"default":["forms:read","forms:manage","submissions:read","submissions:manage","webhooks:manage"]},"expiresInDays":{"type":"integer","minimum":1,"maximum":365}},"required":["name"]}}}},"responses":{"201":{"description":"Personal token created"}}}},"/api/v1/approvals/:stepId/decide":{"post":{"parameters":[{"schema":{"type":"string"},"required":true,"name":"stepId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"decision":{"type":"string","enum":["approved","denied"]},"comment":{"type":"string","maxLength":2000}},"required":["decision"]}}}},"responses":{"200":{"description":"Approval step decided"}}}},"/api/v1/integrations":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string","minLength":1},"formId":{"type":"string","nullable":true,"minLength":1},"provider":{"type":"string","enum":["slack","teams","notion","airtable","hubspot","google_sheets","make_zapier"]},"name":{"type":"string","minLength":1,"maxLength":120},"config":{"type":"object","additionalProperties":{"type":"string","maxLength":2000}},"events":{"type":"array","items":{"type":"string","enum":["submission.created","submission.spam","submission.updated","payment.paid","payment.failed","payment.refunded","signature.completed","signature.declined","approval.approved","approval.denied","booking.created"]},"minItems":1,"default":["submission.created"]},"active":{"type":"boolean","default":true}},"required":["projectId","provider","name","config"]}}}},"responses":{"201":{"description":"Native integration created"}}}},"/api/v1/integrations/:integrationId":{"patch":{"parameters":[{"schema":{"type":"string"},"required":true,"name":"integrationId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"config":{"type":"object","additionalProperties":{"type":"string","maxLength":2000}},"events":{"type":"array","items":{"type":"string","enum":["submission.created","submission.spam","submission.updated","payment.paid","payment.failed","payment.refunded","signature.completed","signature.declined","approval.approved","approval.denied","booking.created"]},"minItems":1},"active":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Native integration updated"}}}},"/api/v1/ai/generate-form":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":5,"maxLength":4000},"locale":{"type":"string","enum":["en","nl","de","fr","es"],"default":"en"}},"required":["prompt"]}}}},"responses":{"200":{"description":"AI-generated form blueprint"}}}},"/api/v1/forms/:formId/ai/ask":{"post":{"parameters":[{"schema":{"type":"string"},"required":true,"name":"formId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string","minLength":2,"maxLength":1000},"includePii":{"type":"boolean","default":false}},"required":["question"]}}}},"responses":{"200":{"description":"AI data assistant answer"}}}},"/api/v1/organization/domains":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"hostname":{"type":"string","maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z]{2,}$"},"projectId":{"type":"string","nullable":true,"minLength":1}},"required":["hostname"]}}}},"responses":{"201":{"description":"Custom domain registered"}}}}}}